chore: daily development #209
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: Upload Canyon Report Coverage Map | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: npm i -g pnpm && npm i -g canyon-uploader && pnpm install | |
- name: Build | |
run: pnpm run build:report | |
- name: Upload coverage map | |
run: cd packages/canyon-report && canyon-uploader -v && canyon-uploader map --dsn=https://collect.canyonjs.org/coverage/map/client --provider=github --instrument_cwd=$(dirname $(dirname $(pwd))) |