name: CI on: pull_request: push: branches: - main jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup node 14 uses: actions/setup-node@v1 with: node-version: 14.x - run: yarn install --frozen-lockfile - run: yarn build - run: yarn test