mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-23 23:29:17 -05:00
test: run all tests
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -71,6 +71,6 @@ jobs:
|
||||
- name: run tests (branch)
|
||||
timeout-minutes: 60
|
||||
if: github.ref_name != 'v11'
|
||||
run: pnpm run test-branch
|
||||
run: pnpm run test-main
|
||||
env:
|
||||
PNPM_WORKERS: 3
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"lint:ts": "eslint \"**/src/**/*.ts\" \"**/test/**/*.ts\"",
|
||||
"test-main": "pnpm pretest && pnpm lint && pnpm run test-pkgs-main",
|
||||
"remove-temp-dir": "shx rm -rf ../pnpm_tmp",
|
||||
"test-pkgs-main": "pnpm remove-temp-dir && pnpm run --no-sort --workspace-concurrency=1 -r _test",
|
||||
"test-pkgs-main": "pnpm remove-temp-dir && pnpm run --no-sort --workspace-concurrency=1 -r --no-bail _test",
|
||||
"test-branch": "pnpm pretest && pnpm lint && git remote set-branches --add origin v11 && git fetch origin v11 && pnpm run test-pkgs-branch",
|
||||
"test-pkgs-branch": "pnpm remove-temp-dir && pnpm --workspace-concurrency=1 --filter=...[origin/v11] run --no-sort _test",
|
||||
"compile-only": "pnpm --config.useNodeVersion=24.6.0 exec ts-node __utils__/scripts/src/typecheck-only.ts && pnpm -F pnpm compile",
|
||||
|
||||
Reference in New Issue
Block a user