mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-12-01 11:57:53 +08:00
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:
5
.github/workflows/web_coverage.yaml
vendored
5
.github/workflows/web_coverage.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user