Skip to content

codecov test PR

codecov test PR #46

Workflow file for this run

name: CI
on: pull_request
jobs:
CI:
runs-on: ubuntu-latest
env:
TURBO_API: http://127.0.0.1:9080
TURBO_TOKEN: 61613e87-4749-493b-a569-9a5e15e168cd
TURBO_TEAM: bezier-react
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
- name: Install Dependencies
run: yarn install
- name: TurboRepo Local Server
uses: felixmosh/turborepo-gh-artifacts@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Typecheck
run: yarn typecheck
- name: Test
run: yarn test
- name: Checkout
uses: actions/checkout@v4
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
directory: ./packages/bezier-react/coverage
files: ./clover.xml,./coverage-final.json,./lcov.info