Skip to content

Commit

Permalink
ci: smoke test only on node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 26, 2024
1 parent bb0d9fb commit 1257c49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ jobs:
- macos-14
- macos-13
node-version:
- 10
# - 10
- 22
steps:
- name: Download Pack
Expand Down
5 changes: 2 additions & 3 deletions script/smoke-test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ set -o pipefail
echo "Pack zeromq.js if needed"
version=$(node -e 'console.log(require("./package.json").version)')
pack_name="zeromq-${version}.tgz"
test -f "${pack_name}" || npm pack
echo "${pack_name}"
test -f "${pack_name}" || ls -R

init_smoke_test() {
local pm=$1
Expand All @@ -26,8 +27,6 @@ for pm in "${package_managers[@]}"; do
echo "Install with ${pm}"
${pm} install

ls -R ./node_modules/zeromq

echo "Require zeromq"
node -e "console.log(require('zeromq'))"

Expand Down

0 comments on commit 1257c49

Please sign in to comment.