File tree 3 files changed +14
-9
lines changed
3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -162,12 +162,17 @@ jobs:
162
162
name : build-${{ strategy.job-index }}
163
163
overwrite : true
164
164
165
- - name : Upload lib
165
+ - name : Pack Zeromq
166
+ if : matrix.os == 'ubuntu-20.04'
167
+ run : |
168
+ pnpm pack
169
+
170
+ - name : Upload Pack
166
171
if : matrix.os == 'ubuntu-20.04'
167
172
uses : actions/upload-artifact@v4
168
173
with :
169
- path : ./lib
170
- name : lib
174
+ path : ./*.tgz
175
+ name : pack
171
176
overwrite : true
172
177
173
178
- name : Lint
@@ -228,11 +233,11 @@ jobs:
228
233
name : build
229
234
path : ./build
230
235
231
- - name : Place lib
236
+ - name : Place Pack
232
237
uses : actions/download-artifact@v4
233
238
with :
234
- name : lib
235
- path : ./lib
239
+ name : pack
240
+ path : ./
236
241
237
242
- name : Install Node
238
243
uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 112
112
"lint" : " run-p format lint.eslint format" ,
113
113
"lint-test" : " run-s lint-test.eslint" ,
114
114
"bench" : " node --expose-gc test/bench" ,
115
+ "prepublishOnly" : " pnpm run build.js" ,
115
116
"bump" : " pnpx npm-check-updates -u -x typescript,eslint,chai && pnpx typesync && pnpm update"
116
117
},
117
118
"cmake-ts" : {
Original file line number Diff line number Diff line change 2
2
set -ev
3
3
set -o pipefail
4
4
5
- echo " Pack zeromq.js"
5
+ echo " Pack zeromq.js if needed "
6
6
version=$( npm pkg get version | tr -d ' "' )
7
7
pack_name=" zeromq-${version} .tgz"
8
- rm -f " ${pack_name} "
9
- npm pack
8
+ test -f " ${pack_name} " || npm pack
10
9
11
10
init_smoke_test () {
12
11
local pm=$1
You can’t perform that action at this time.
0 commit comments