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:
parent
fcb4214d91
commit
36a9132c18
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue