Skip to content

chore(deps): update codecov/codecov-action action to v4 #2056

chore(deps): update codecov/codecov-action action to v4

chore(deps): update codecov/codecov-action action to v4 #2056

Workflow file for this run

name: Test / Lint
on:
push:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
node-version: 18
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run build
test:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
config:
# arch isn't used and we have no way to use it currently
- { os: macos-latest, arch: x64 }
- { os: ubuntu-latest, arch: x64 }
- { os: windows-latest, arch: x64 }
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4
with:
directory: ./coverage/