Skip to content

Commit

Permalink
test: Fix types test (#28)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
nzakas and fasttime authored Dec 6, 2024
1 parent 530d6c1 commit ce16f64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
node-version: "lts/*"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Check Types
run: npm run test:types
jsr_test:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"fmt:check": "prettier --check .",
"test": "mocha tests/**/*.js",
"test:coverage": "c8 npm test",
"test:types": "tsc -p tests/types/tsconfig.json"
"test:types": "npm run build && tsc -p tests/types/tsconfig.json"
},
"keywords": [
"eslint",
Expand Down

0 comments on commit ce16f64

Please sign in to comment.