Skip to content

feat: update

feat: update #216

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)))