mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
chore: enable test
This commit is contained in:
parent
730b6bb8b4
commit
c9ef66b1be
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -28,5 +28,5 @@ jobs:
|
|||||||
run: node common/scripts/install-run-rush.js install
|
run: node common/scripts/install-run-rush.js install
|
||||||
- name: Rush build
|
- name: Rush build
|
||||||
run: node common/scripts/install-run-rush.js build
|
run: node common/scripts/install-run-rush.js build
|
||||||
# - name: Test (coverage)
|
- name: Test (coverage)
|
||||||
# run: node common/scripts/install-run-rush.js test:cov -v
|
run: node common/scripts/install-run-rush.js test:cov -v
|
||||||
|
|||||||
@ -192,6 +192,26 @@
|
|||||||
"autoinstallerName": "rush-commands",
|
"autoinstallerName": "rush-commands",
|
||||||
"shellCommand": "node common/autoinstallers/rush-commands/check-circular-dependency.mjs"
|
"shellCommand": "node common/autoinstallers/rush-commands/check-circular-dependency.mjs"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"commandKind": "bulk",
|
||||||
|
"name": "test",
|
||||||
|
"description": "Executes automated tests.",
|
||||||
|
"allowWarningsInSuccessfulBuild": true,
|
||||||
|
"ignoreMissingScript": true,
|
||||||
|
"enableParallelism": true,
|
||||||
|
"incremental": true,
|
||||||
|
"summary": "⭐️️ Run test command for each package"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"commandKind": "bulk",
|
||||||
|
"name": "test:cov",
|
||||||
|
"description": "Executes automated tests with coverage collection.",
|
||||||
|
"allowWarningsInSuccessfulBuild": true,
|
||||||
|
"ignoreMissingScript": true,
|
||||||
|
"enableParallelism": true,
|
||||||
|
"incremental": true,
|
||||||
|
"summary": "⭐️️ Run coverage command for each package"
|
||||||
|
},
|
||||||
// 本地包构建 + watch
|
// 本地包构建 + watch
|
||||||
{
|
{
|
||||||
"name": "build:watch",
|
"name": "build:watch",
|
||||||
|
|||||||
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
* The default value is false.
|
* The default value is false.
|
||||||
*/
|
*/
|
||||||
// "autoInstallPeers": false,
|
"autoInstallPeers": true,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If true, then Rush will add the `--strict-peer-dependencies` command-line parameter when
|
* If true, then Rush will add the `--strict-peer-dependencies` command-line parameter when
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user