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@v3 - uses: actions/setup-node@v3 with: node-version: 18 - run: npm ci - run: npm run lint - run: npm run build