chore: enable test

This commit is contained in:
chenjiawei.inizio 2025-02-24 15:47:22 +08:00
parent 730b6bb8b4
commit c9ef66b1be
3 changed files with 23 additions and 3 deletions

View File

@ -28,5 +28,5 @@ jobs:
run: node common/scripts/install-run-rush.js install
- name: Rush build
run: node common/scripts/install-run-rush.js build
# - name: Test (coverage)
# run: node common/scripts/install-run-rush.js test:cov -v
- name: Test (coverage)
run: node common/scripts/install-run-rush.js test:cov -v

View File

@ -192,6 +192,26 @@
"autoinstallerName": "rush-commands",
"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
{
"name": "build:watch",

View File

@ -60,7 +60,7 @@
* The default value is false.
*/
// "autoInstallPeers": false,
"autoInstallPeers": true,
/**
* If true, then Rush will add the `--strict-peer-dependencies` command-line parameter when