Skip to content

Commit 216a9ab

Browse files
Jake ChampionJakeChampion
authored andcommitted
update the npm type tests to npt try and build the runtime
1 parent b8c795a commit 216a9ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,12 @@ jobs:
296296
- run: |
297297
ci/rustfmt.sh
298298
299-
test-npm-package:
299+
test-npm-package-types:
300300
runs-on: ubuntu-latest
301301
steps:
302302
- uses: actions/checkout@v2
303-
- run: npm cit
303+
- run: SKIP_BUILD=1 npm ci
304+
- run: npm run test:types
304305

305306
e2e-async-select:
306307
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"scripts": {
2828
"install:ci": "npm ci",
2929
"test": "tsd",
30+
"test:types": "tsd",
3031
"docs": "npm run docs:clean && npm run docs:typedoc",
3132
"docs:clean": "rm -rf reference-docs",
3233
"docs:typedoc": "typedoc --theme ./node_modules/typedoc-loopingz-theme/bin/default --disableSources --includeVersion --out reference-docs --tsconfig tsconfig.json --readme none --exclude index.test-d.ts index.d.ts",

0 commit comments

Comments
 (0)