Skip to content

Commit d448f41

Browse files
committed
test: ignore engines when testing yarn
1 parent 1a9e232 commit d448f41

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

script/smoke-test.bash

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ for pm in "${package_managers[@]}"; do
2323
npm pkg set dependencies.zeromq="file:./${pack_name}" || (jq ".dependencies.zeromq = \"file:./${pack_name}\"" package.json >temp.json && mv temp.json package.json)
2424

2525
echo "Install with ${pm}"
26-
${pm} install
26+
if [[ "${pm}" == "yarn" ]]; then
27+
yarn install --ignore-engines
28+
else
29+
${pm} install
30+
fi
2731

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

0 commit comments

Comments
 (0)