Merge pull request #1902 from g59/dependabot/github_actions/codecov/c… #5210
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: Node CI | |
on: | |
push: | |
jobs: | |
build: | |
timeout-minutes: 3 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [lts/*, latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: biomejs/setup-biome@v2 | |
- run: biome ci . | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm test | |
env: | |
SLACK_WEBHOOK_URL: https://example.com | |
CI: true | |
- name: Codecov | |
uses: codecov/codecov-action@v5 |