chore / setup pipeline (#9)

* chore: setup basic pipeline

* chore: fix yarn install for examples

* chore: split lint and typescript

* chore: change job name
This commit is contained in:
Jakub Grzywacz 2021-07-28 12:26:34 +02:00 committed by GitHub
parent fcb4214d91
commit 36a9132c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

17
.github/workflows/lint.yml vendored Normal file
View File

@ -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

17
.github/workflows/tsc.yml vendored Normal file
View File

@ -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