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