Update codecov/codecov-action action to v5 #1458
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
jobs: | |
small: | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 1 | |
name: test / ${{matrix.os}} / ${{matrix.node}} | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: ${{matrix.node}} | |
- run: npm ci | |
- run: npm run test-api | |
strategy: | |
matrix: | |
include: | |
- node: lts/hydrogen | |
os: ubuntu-latest | |
node: | |
- node | |
os: | |
- macos-latest | |
- windows-latest | |
full: | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 1 | |
name: full build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: node | |
- run: npm ci | |
- run: npm test | |
- uses: codecov/codecov-action@v5 | |
name: main | |
on: | |
- pull_request | |
- push |