This file contains 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: Install and test eslint-plugin-ava | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
jobs: | |
nodejs: | |
name: Node.js | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [^18.18] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install --no-audit | |
- run: npm test | |
- uses: codecov/codecov-action@v3 | |
integration: | |
name: Integration tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- run: npm install --no-audit | |
- run: npm run integration | |
- uses: codecov/codecov-action@v3 |