Skip to content

Commit

Permalink
compile ts before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bert0RM committed Dec 13, 2023
1 parent dba061c commit 57f569a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"install": "yarn workspaces -pt run install",
"build": "yarn workspaces -pt run build",
"postinstall": "cargo install --path ./packages/compiler",
"test": "yarn workspaces -pt run test",
"test": "npx tsc && yarn workspaces -pt run test",
"upload-binary": "yarn workspaces -pt run upload-binary"
},
"repository": {
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Visit https://aka.ms/tsconfig.json for all config options
{
"compilerOptions": {
"target": "ES2020",
"target": "ES2021",
"module": "commonjs",
"strict": true,
"resolveJsonModule": true,
Expand All @@ -11,6 +11,7 @@
},
"include": [
"./scripts",
"./test"
"./test",
"./packages/compiler/src"
]
}

0 comments on commit 57f569a

Please sign in to comment.