shebang-regex/.github/workflows/main.yml
raw| 1 | name: CI |
| 2 | on: |
| 3 | - push |
| 4 | - pull_request |
| 5 | jobs: |
| 6 | test: |
| 7 | name: Node.js ${{ matrix.node-version }} |
| 8 | runs-on: ubuntu-latest |
| 9 | strategy: |
| 10 | fail-fast: false |
| 11 | matrix: |
| 12 | node-version: |
| 13 | - 16 |
| 14 | steps: |
| 15 | - uses: actions/checkout@v2 |
| 16 | - uses: actions/setup-node@v2 |
| 17 | with: |
| 18 | node-version: ${{ matrix.node-version }} |
| 19 | - run: npm install |
| 20 | - run: npm test |