mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
ci(electron): wire node --test for electron/*.test.cjs
Follow-up to #7297: the simple-store regression test only ran via local invocation. Add a test:electron npm script and run it in the CI Tests job so simple-store fixes stay regression-guarded.
This commit is contained in:
parent
e88af693a0
commit
80976c32c1
2 changed files with 2 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -109,6 +109,7 @@ jobs:
|
|||
npx playwright install-deps chromium
|
||||
- run: npm run env # Generate env.generated.ts from environment variables
|
||||
- run: npm run int:test # Validate i18n JSON files
|
||||
- run: npm run test:electron # Node-side unit tests for electron/*.cjs
|
||||
- run: npm run test
|
||||
- name: Build Frontend for E2E
|
||||
run: npm run buildFrontend:e2e
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@
|
|||
"prettier:file": "prettier --write",
|
||||
"lint:file": "ng lint --lint-file-patterns",
|
||||
"test:file": "cross-env TZ='Europe/Berlin' ng test --watch=false --include",
|
||||
"test:electron": "node --test electron/*.test.cjs",
|
||||
"test:fast": "cross-env TZ='Europe/Berlin' NODE_OPTIONS='--max-old-space-size=4096' ng test --watch=false --no-code-coverage --source-map=false",
|
||||
"test:fast:watch": "cross-env TZ='Europe/Berlin' NODE_OPTIONS='--max-old-space-size=4096' ng test --browsers ChromeHeadless --no-code-coverage --source-map=false",
|
||||
"test:shard:features": "cross-env TZ='Europe/Berlin' ng test --watch=false --include='src/app/features/**/*.spec.ts'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue