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