From 36a9132c18d91cff68d9af43dff3c23f924a132c Mon Sep 17 00:00:00 2001 From: Jakub Grzywacz Date: Wed, 28 Jul 2021 12:26:34 +0200 Subject: [PATCH] chore / setup pipeline (#9) * chore: setup basic pipeline * chore: fix yarn install for examples * chore: split lint and typescript * chore: change job name --- .github/workflows/lint.yml | 17 +++++++++++++++++ .github/workflows/tsc.yml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/lint.yml create mode 100644 .github/workflows/tsc.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..4816518 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint + +on: [push] + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - uses: c-hive/gha-yarn-cache@v1 + - name: Install node modules + run: yarn + - name: lint + run: yarn lint diff --git a/.github/workflows/tsc.yml b/.github/workflows/tsc.yml new file mode 100644 index 0000000..1276860 --- /dev/null +++ b/.github/workflows/tsc.yml @@ -0,0 +1,17 @@ +name: TypeScript + +on: [push] + +jobs: + tsc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - uses: c-hive/gha-yarn-cache@v1 + - name: Install node modules + run: yarn + - name: typescript + run: yarn typescript