Skip to content

ci: use codecov/codecov-action@v4 #17

ci: use codecov/codecov-action@v4

ci: use codecov/codecov-action@v4 #17

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
Build:
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 16, 20 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run all
- name: Upload Coverage
if: matrix.node-version == 20
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}