Skip to content

Commit 0412518

Browse files
committed
Fix(runtime): Run tsc on pre-publish
1 parent cdfa681 commit 0412518

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ stages:
1111
- npm ci
1212
- npm run build
1313
- cd packages/runtime/ && npm run build && cd -
14-
- npm install packages/runtime --unsafe-perm
14+
- npm link packages/runtime --unsafe-perm
1515
- npm run test
1616

1717
node-10-llvm-6:

packages/runtime/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"scripts": {
77
"build": "tsc && cmake . && make",
8-
"install": "cmake . && make"
8+
"install": "cmake . && make",
9+
"prepublish": "tsc"
910
},
1011
"author": "Dmitry Patsura <talk@dmtry.me>",
1112
"license": "MIT",

0 commit comments

Comments
 (0)