Skip to content

Commit

Permalink
JavaScript (v3): Add compile step to tests for TS type checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpyle0819 authored and rlhagerm committed Dec 10, 2024
1 parent ad32a6f commit 96e3fee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"compile": "tsc",
"build": "tsc && vite build",
"preview": "vite preview"
},
Expand Down
3 changes: 2 additions & 1 deletion javascriptv3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "root",
"private": true,
"scripts": {
"test": "npm run test --workspaces --if-present -- --silent",
"compile": "npm run compile --workspaces --if-present",
"test": "npm run compile && npm run test --workspaces --if-present -- --silent",
"integration-test": "npm run integration-test --workspaces --if-present -- --silent; exit_code=$?; npm run merge-test-results; npm run log-tests; exit ${exit_code:-99}",
"merge-test-results": "jrm test-results.xml \"**/test_results/**/*.junit.xml\"",
"log-tests": "cat test-results.xml",
Expand Down

0 comments on commit 96e3fee

Please sign in to comment.