Skip to content

Commit

Permalink
chore: changes for new type-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscortonc committed Feb 25, 2024
1 parent fafe05e commit 792cc77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,8 @@ jobs:

- name: Test
run: yarn test

# type-testing library is only supported on node >=16
- name: Test types (node version agnostic)
if: matrix.node_version == 16
run: yarn types-test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "rimraf dist && yarn tsup && node ./scripts/fix-types.js",
"smoke-test": "cd test/smoke && node cjs/index.cjs && node mjs/index.mjs && ts-node-transpile-only ts/index.ts",
"types-test": "tstyche",
"test": "yarn tsc && jest --silent && yarn types-test && yarn smoke-test",
"test": "yarn tsc && jest --silent && yarn smoke-test",
"format": "prettier --write ."
},
"dependencies": {},
Expand Down

0 comments on commit 792cc77

Please sign in to comment.