Skip to content

Commit b68f339

Browse files
CI: added type generation script
Signed-off-by: NeelParihar <[email protected]>
1 parent 9dcfc1c commit b68f339

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/production.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
registry-url: 'https://registry.npmjs.org'
1919
- run: npm install
2020
- run: npm run build
21+
- run: npm run generate-types
2122
- run: npm publish
2223
env:
2324
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
"test-single": "mocha $1",
8181
"woql-test": "mocha test/woqlTripleBuilder.spec.js test/woql.spec.js test/woqlTripleBuilder01.spec.js test/woqlExtra.spec.js",
8282
"git-tag": "git tag $npm_package_version",
83-
"prepare": "husky install"
83+
"prepare": "husky install",
84+
"generate-types": "tsc"
8485
},
8586
"repository": {
8687
"type": "git",

0 commit comments

Comments
 (0)