You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(root): align node versions across release and ci
Keep the compatibility matrix on explicit Node.js major lines.
Use .nvmrc for the release gate and single-version CI jobs and cache keys.
TICKET: WCN-2596
- name: Pre-publish shrinkwrap check — setup Node.js from .nvmrc
329
330
if: inputs.dry-run == false
330
331
uses: actions/setup-node@v6
331
332
with:
332
-
node-version: '20.x'
333
+
node-version-file: '.nvmrc'
333
334
334
-
- name: Pre-publish shrinkwrap check — install tarball on Node 20 with engine-strict
335
+
- name: Pre-publish shrinkwrap check — install tarball on repository Node.js with engine-strict
335
336
if: inputs.dry-run == false
336
337
run: |
337
338
workdir="$(mktemp -d)"
@@ -340,18 +341,12 @@ jobs:
340
341
npm init -y >/dev/null
341
342
echo "Verifying $PREPUB_TARBALL installs on $(node --version) with engine-strict=true"
342
343
if ! npm install "$PREPUB_TARBALL" --no-audit --no-fund --ignore-scripts 2>install.log; then
343
-
echo "::error::Pre-publish shrinkwrap check FAILED — bitgo tarball cannot be installed on Node 20 with engine-strict. Fix before publishing."
344
+
echo "::error::Pre-publish shrinkwrap check FAILED — bitgo tarball cannot be installed on the repository Node.js version with engine-strict. Fix before publishing."
344
345
cat install.log
345
346
exit 1
346
347
fi
347
348
echo "✅ bitgo tarball installs cleanly on $(node --version) with engine-strict."
348
349
349
-
- name: Pre-publish shrinkwrap check — restore release Node version
0 commit comments