From 1e92f6311bc84448eff4339fd3617ccf5c4238ff Mon Sep 17 00:00:00 2001 From: dapplion Date: Fri, 20 Nov 2020 12:16:25 +0000 Subject: [PATCH] Setup NodeJS 12 on CI --- .github/workflows/test.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f1ed3a..2021c6b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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