ci: Workflow Bot -- Update ALL Dependencies (main) #535
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ' 🧪 Coverage' | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- '/*.js' | |
- '**/*.ts' | |
- '*-lock.yaml' | |
- 'package.json' | |
- '.github/workflows/coverage.yml' | |
- '!docs/**' | |
- '!website/**' | |
push: | |
branches: | |
- main | |
paths: | |
- '**/package.json' | |
- '**/*-lock.yaml' | |
- '**/*.ts' | |
- '**/*.js' | |
- '.github/workflows/coverage.yml' | |
- '!docs/**' | |
- '!website/**' | |
permissions: | |
contents: read | |
jobs: | |
coverage: | |
permissions: | |
checks: write # for coverallsapp/github-action to create new checks | |
contents: read # for actions/checkout to fetch code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: build | |
run: | | |
pnpm build | |
- run: pnpm run coverage | |
- name: Upload coverage Coveralls | |
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # 2.3.4 | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |