Skip to content

ci: update codecov to use token #97

ci: update codecov to use token

ci: update codecov to use token #97

Workflow file for this run

name: Flow check, Lint and Tests
on: push
jobs:
validation:
name: Testing on Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
uses: c-hive/gha-yarn-cache@v2
- name: Install Dependencies using Yarn
run: yarn --ignore-engines
- name: Tests
run: yarn test:ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}