name: pr-tests on: pull_request: types: - "opened" - "reopened" - "synchronize" paths: - "src/**" - "build.mjs" jobs: tests: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 - run: npm ci - run: npm run lint - run: npm run build