Setup NodeJS 12 on CI
This commit is contained in:
parent
6e7782b306
commit
1e92f6311b
|
@ -1,18 +1,22 @@
|
||||||
name: CI Tests
|
name: Main
|
||||||
|
|
||||||
on: [pull_request, push]
|
on: [pull_request, push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
tests:
|
||||||
name: Quick tests
|
name: Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Bootstrap
|
- uses: actions/setup-node@v1
|
||||||
run: yarn
|
with:
|
||||||
- name: Check types
|
node-version: "12.x"
|
||||||
run: yarn check-types
|
registry-url: "https://registry.npmjs.org"
|
||||||
- name: Lint
|
- name: Install deps
|
||||||
run: yarn lint
|
run: yarn
|
||||||
- name: Tests
|
- name: Check types
|
||||||
run: yarn test
|
run: yarn check-types
|
||||||
|
- name: Lint
|
||||||
|
run: yarn lint
|
||||||
|
- name: Tests
|
||||||
|
run: yarn test
|
||||||
|
|
Reference in New Issue