ci: add canonical verification scripts
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
"test:assessment": "node --test tests/assessment-*.test.mjs tests/product-closure-contract.test.mjs tests/integration/assessment-lifecycle.test.mjs tests/tool-schema-validation.test.mjs",
|
||||
"typecheck:samples": "npm exec --yes --package=typescript@7.0.2 -- tsc -p tsconfig.samples.json",
|
||||
"test:ai": "node --test tests/ai-code-block.test.mjs tests/ai-context-builder.test.mjs tests/ai-chat-client.test.mjs tests/ai-learning-assistant.test.mjs tests/ai-context-budgeting.test.mjs tests/ai-conversation-export.test.mjs tests/ai-conversation-storage.test.mjs tests/ai-gateway-compaction-contract.test.mjs tests/ai-output-limit.test.mjs tests/ai-tutor-message-actions.test.mjs tests/ai-tutor-scroll-behavior.test.mjs tests/deepseek-browser.test.mjs tests/source-citation.test.mjs worker/deepseek-assistant/test/*.test.js",
|
||||
"test:required": "node scripts/run-required-tests.mjs",
|
||||
"verify:required": "npm run test:required && npm run typecheck:samples && npm run lint && npm run build",
|
||||
"verify:browser": "npm run test:e2e:mock",
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e:mock": "VITE_AI_ASSISTANT_URL=http://127.0.0.1:4173/__ai-test__ npm run build && CI=true npm run test:e2e",
|
||||
"predeploy": "npm run build",
|
||||
|
||||
Reference in New Issue
Block a user