Skip to content

Commit ce16f64

Browse files
nzakasfasttime
andauthored
test: Fix types test (#28)
* test: Fix types test * Ensure build is run before test:types * Update tests/types/types.test.ts Co-authored-by: Francesco Trotta <[email protected]> --------- Co-authored-by: Francesco Trotta <[email protected]>
1 parent 530d6c1 commit ce16f64

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ jobs:
5656
node-version: "lts/*"
5757
- name: Install dependencies
5858
run: npm install
59-
- name: Build
60-
run: npm run build
6159
- name: Check Types
6260
run: npm run test:types
6361
jsr_test:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"fmt:check": "prettier --check .",
5959
"test": "mocha tests/**/*.js",
6060
"test:coverage": "c8 npm test",
61-
"test:types": "tsc -p tests/types/tsconfig.json"
61+
"test:types": "npm run build && tsc -p tests/types/tsconfig.json"
6262
},
6363
"keywords": [
6464
"eslint",

0 commit comments

Comments
 (0)