Skip to content

ci: add token to codecov #631

ci: add token to codecov

ci: add token to codecov #631

Workflow file for this run

---
name: Build and Coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build Tests - Node.js
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
cache-dependency-path: yarn.lock
- name: Install
run: yarn install
- name: Compile
run: yarn run build
- name: Start Bugzilla
run: ./itest/start_container.sh
- name: Test
run: yarn jest -c jest.ci.config.js --coverage
- name: Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}