Merge pull request #38 from 43081j/remove-deprecated-rules #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Node CI | |
| on: [push] | |
| jobs: | |
| build: | |
| name: ESLint ${{ matrix.eslint }} on Node ${{ matrix.node }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: | |
| - 20 | |
| - 23 | |
| eslint: | |
| - 8 | |
| - local | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node ${{ matrix.node }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm install | |
| - name: Install ESLint ${{ matrix.eslint }} | |
| if: ${{ matrix.eslint != 'local' }} | |
| run: npm install eslint@${{ matrix.eslint }} --no-save | |
| - run: npm run build --if-present | |
| - run: npm test | |
| env: | |
| CI: true |