Skip to content

Bump codecov/codecov-action from 4 to 5 (#511) #1151

Bump codecov/codecov-action from 4 to 5 (#511)

Bump codecov/codecov-action from 4 to 5 (#511) #1151

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn run lint --no-fix --max-warnings 0 --format stylish
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: build
run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: test
run: yarn test
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }} # required
files: cobertura-coverage.xml