name: test every commit on: - push - pull_request jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: node-version: 18 - run: yarn --ignore-engines - run: node build.js - run: yarn test