feat: add the option to ignore suppressed messages (#83) #216
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
# run linting with our development node/npm versions (per package.json | |
# volta config) | |
name: 'Lint - ${{ matrix.os }}' | |
runs-on: '${{ matrix.os }}-latest' | |
strategy: | |
matrix: | |
os: [windows, ubuntu] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v1 | |
- name: install dependencies | |
run: npm install | |
- name: lint | |
run: npm run lint | |
test: | |
# run linting with our development node/npm versions (per package.json | |
# volta config) | |
name: 'Tests - Node (${{ matrix.node-version }}) - ${{ matrix.os }}' | |
runs-on: '${{ matrix.os }}-latest' | |
strategy: | |
matrix: | |
os: [windows, ubuntu] | |
node-version: [14.x, 15.x, 16.x, 17.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v1 | |
- name: install dependencies | |
run: npm install | |
- name: build | |
run: npm run build | |
- name: test | |
run: npm test | |
floating-dependencies: | |
# test using latest allowed dependencies within our semver ranges this is | |
# an early warning detection for failures introduced by transitive | |
# dependencies | |
name: 'Floating Dependencies - ${{ matrix.os }}' | |
runs-on: '${{ matrix.os }}-latest' | |
strategy: | |
matrix: | |
os: [windows, ubuntu] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v1 | |
- name: install dependencies | |
run: npm install --no-package-lock | |
- name: build | |
run: npm run build | |
- name: test | |
run: npm test |