Skip to content

Bump codecov/codecov-action from 5.1.2 to 5.3.1 (#126) #230

Bump codecov/codecov-action from 5.1.2 to 5.3.1 (#126)

Bump codecov/codecov-action from 5.1.2 to 5.3.1 (#126) #230

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn --immutable
- run: yarn add -D @types/node@${{ matrix.node-version }}
- run: yarn tsc
- run: yarn lint --max-warnings=0
- run: yarn test --coverage
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5
with:
flags: "node_${{ matrix.node-version }}"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}