build(deps-dev): bump nyc from 15.1.0 to 17.0.0 #268
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: fastify-bugsnag-ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 18.x, 20.x, latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
name: Install dependencies | |
- run: npm run build | |
name: Build the TS | |
- run: npm run lint | |
name: Run Linter | |
- run: npm test | |
name: Run tests | |
- name: Publish code coverage | |
uses: paambaati/codeclimate-action@v5.0.0 | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_COVERAGE_REPORTER }} |