File tree 2 files changed +13
-10
lines changed
2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -236,17 +236,15 @@ jobs:
236
236
os :
237
237
- ubuntu-24.04
238
238
- windows-2022
239
- - macos-14
240
239
- macos-13
241
240
node-version :
242
- # - 10
241
+ - 10
243
242
- 22
244
- steps :
245
- - name : Download Pack
246
- uses : actions/download-artifact@v4
247
- with :
248
- name : pack
249
243
244
+ include :
245
+ - os : macos-14
246
+ node-version : 22
247
+ steps :
250
248
- name : Install Node
251
249
uses : actions/setup-node@v4
252
250
with :
@@ -276,5 +274,10 @@ jobs:
276
274
277
275
- uses : actions/checkout@v4
278
276
277
+ - name : Download Pack
278
+ uses : actions/download-artifact@v4
279
+ with :
280
+ name : pack
281
+
279
282
- name : Smoke Test
280
283
run : bash ./script/smoke-test.bash
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ echo "Pack zeromq.js if needed"
6
6
version=$( node -e ' console.log(require("./package.json").version)' )
7
7
pack_name=" zeromq-${version} .tgz"
8
8
echo " ${pack_name} "
9
- test -f " ${pack_name} " || ls -R
9
+ test -f " ${pack_name} " || npm pack
10
10
11
11
init_smoke_test () {
12
12
local pm=$1
@@ -15,8 +15,8 @@ init_smoke_test() {
15
15
rm -rf " ./smoke-test-${pm} "
16
16
mkdir " ./smoke-test-${pm} "
17
17
cd " ./smoke-test-${pm} "
18
- npm init -q --init-module " smoke-test- ${pm} " - y
19
- npm pkg set dependencies.zeromq=" file:../${pack_name} " || (jq ' .dependencies.zeromq = "file:../${pack_name}" ' package.json > temp.json && mv temp.json package.json)
18
+ npm init -y
19
+ npm pkg set dependencies.zeromq=" file:../${pack_name} " || (jq " .dependencies.zeromq = \ " file:../${pack_name} \" " package.json > temp.json && mv temp.json package.json)
20
20
}
21
21
22
22
package_managers=(npm pnpm yarn)
You can’t perform that action at this time.
0 commit comments