diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-15 09:48:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 14:48:53 +0000 |
commit | 730b34c0bbe394fd62afb20b32152139a65b0b60 (patch) | |
tree | f926633356b527ccddf0ae603bf25dade3ff4d51 /package.json | |
parent | 1ae752b9fefb3e64114ebb4cd28f1fa0db9137c6 (diff) |
Add typescript checks to CI (#350)
* Add typescript checks to CI
* Actually save the CI file
* Run build-libs before test-ts
* Move build libs CI
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json index e277ce48..adffa549 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,12 @@ "scripts": { "build": "node ./dev/bin/build.js", "build-libs": "node ./dev/bin/build-libs.js", - "test": "npm run test-lint-js && npm run test-ts && npm run test-ts-dev && npm run test-ts-test && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-build", + "test": "npm run test-lint-js && npm run test-ts && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-build", "test-lint-js": "npx eslint .", "test-lint-css": "npx stylelint \"ext/**/*.css\" \"test/**/*.css\" \"dev/**/*.css\"", "test-lint-html": "npx html-validate \"ext/**/*.html\" \"test/**/*.html\" \"dev/**/*.html\"", - "test-ts": "npx tsc --noEmit --project jsconfig.json", + "test-ts": "npm run test-ts-main && npm run test-ts-dev && npm run test-ts-test", + "test-ts-main": "npx tsc --noEmit --project jsconfig.json", "test-ts-dev": "npx tsc --noEmit --project dev/jsconfig.json", "test-ts-test": "npx tsc --noEmit --project test/jsconfig.json", "test-code": "vitest run", |