You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
Currently our GitHub Actions tests don't include transpiling TypeScript to JavaScript, which is problematic because then no type checking is done on pull requests.
To make this happen, several minor things need to be done:
Remove "watch": true from tsconfig.json. This stops the TypeScript compiler from running in "watch mode," which would cause the automated tests to time out.
In the scripts object of package.json, add "build": "tsc".
In .github/workflows/tests.yml, add - run: npm run build after - run: npm test.
The text was updated successfully, but these errors were encountered:
Currently our GitHub Actions tests don't include transpiling TypeScript to JavaScript, which is problematic because then no type checking is done on pull requests.
To make this happen, several minor things need to be done:
"watch": true
fromtsconfig.json
. This stops the TypeScript compiler from running in "watch mode," which would cause the automated tests to time out.scripts
object ofpackage.json
, add"build": "tsc"
..github/workflows/tests.yml
, add- run: npm run build
after- run: npm test
.The text was updated successfully, but these errors were encountered: