build(deps): bump actions/dependency-review-action from 3 to 4 #2215
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: Test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: peaceiris/workflows/setup-node@v0.19.1 | |
with: | |
node-version-file: '.nvmrc' | |
- run: npm ci | |
- run: npm run fmt:check | |
- run: npm run lint | |
- run: npm run tsc | |
- run: npm run build | |
- run: npm test | |
- name: Upload test coverage as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: coverage | |
path: coverage | |
- uses: codecov/codecov-action@v3 |