Setup NodeJS 12 on CI

This commit is contained in:
dapplion 2020-11-20 12:16:25 +00:00
parent 6e7782b306
commit 1e92f6311b
1 changed files with 16 additions and 12 deletions

View File

@ -1,18 +1,22 @@
name: CI Tests
name: Main
on: [pull_request, push]
jobs:
lint:
name: Quick tests
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Bootstrap
run: yarn
- name: Check types
run: yarn check-types
- name: Lint
run: yarn lint
- name: Tests
run: yarn test
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
registry-url: "https://registry.npmjs.org"
- name: Install deps
run: yarn
- name: Check types
run: yarn check-types
- name: Lint
run: yarn lint
- name: Tests
run: yarn test