fix: vite plugin cause source map error (#108)

* fix: fix source map error

* fix: import way of @mui

* fix: istanbul only when test is true
This commit is contained in:
lumix
2025-05-12 10:05:20 +08:00
committed by GitHub
parent 9aef5fec0c
commit c24c887ac6
11 changed files with 43 additions and 30 deletions

View File

@@ -9,6 +9,7 @@ on:
env:
NODE_VERSION: "18.16.0"
PNPM_VERSION: "8.5.0"
COVERAGE: "true"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
@@ -45,10 +46,14 @@ jobs:
build: pnpm run build
start: pnpm run start
browser: chrome
env:
COVERAGE: "true"
- name: Jest run
run: |
pnpm run test:unit
env:
COVERAGE: "true"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2