Skip to content

Bump codecov/codecov-action from 6 to 7 #493

Bump codecov/codecov-action from 6 to 7

Bump codecov/codecov-action from 6 to 7 #493

Workflow file for this run

name: Node.js CI
permissions:
contents: read
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install
- run: npm run lint:biome
- run: make package # Includes auto-formatting, so we run "lint:biome" check before
- run: npm test
env:
CI: true
- name: Upload coverage to Codecov
# Docs: https://github.com/marketplace/actions/codecov
uses: codecov/codecov-action@v7
if: ${{ env.CODECOV_TOKEN != '' }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true