@@ -7,9 +7,9 @@ description: 'Configures Node.js with pnpm, installs Aikido SafeChain for supply
77
88inputs :
99 node-version :
10- description : ' Node.js version to use. Pinned to 24.18 .1 by default for reproducible builds.'
10+ description : ' Node.js version to use. Pinned to 26.5 .1 by default for reproducible builds.'
1111 required : false
12- default : ' 24.18 .1'
12+ default : ' 26.5 .1'
1313 enable-docker-cache :
1414 description : ' Whether to set up Blacksmith Buildx for Docker layer caching (Blacksmith runners only).'
1515 required : false
@@ -145,6 +145,16 @@ runs:
145145 shell : bash
146146 run : node .github/scripts/verify-safechain.mjs
147147
148+ - name : Skip Kafka native build (no Node 26 prebuilds)
149+ shell : bash
150+ run : |
151+ node -e "
152+ const fs = require('fs');
153+ const p = JSON.parse(fs.readFileSync('package.json', 'utf8'));
154+ p.pnpm.onlyBuiltDependencies = p.pnpm.onlyBuiltDependencies.filter(d => d !== '@confluentinc/kafka-javascript');
155+ fs.writeFileSync('package.json', JSON.stringify(p, null, 2) + '\n');
156+ "
157+
148158 # `--loglevel` CLI flag does NOT override `.npmrc` for that path, but
149159 # `--config.loglevel` does — so the failing script's real output reaches us.
150160 # (Confirmed on CI across Blacksmith + GitHub-hosted, through the SafeChain
@@ -183,7 +193,7 @@ runs:
183193 mkdir -p "$PNPM_DIAG_DIR/pnpm-logs"
184194
185195 set +o pipefail
186- timeout --kill-after=30s 300s $INSTALL_COMMAND \
196+ timeout --kill-after=30s 600s $INSTALL_COMMAND \
187197 --config.logs-dir="$PNPM_DIAG_DIR/pnpm-logs" \
188198 --reporter=append-only --config.loglevel=info 2>&1 | tee "$INSTALL_LOG"
189199 rc=${PIPESTATUS[0]}
@@ -217,7 +227,7 @@ runs:
217227 find "$PNPM_DIAG_DIR/pnpm-logs" -type f -exec sh -c 'echo "----- $1 -----"; cat "$1"' _ {} \; 2>/dev/null || echo "(none)"
218228 echo "::endgroup::"
219229 case "$rc" in
220- 124) echo "::error::pnpm install timed out after 300s (exit 124)" ;;
230+ 124) echo "::error::pnpm install timed out after 600s (exit 124)" ;;
221231 137) echo "::error::pnpm install received SIGKILL (exit 137 — likely OOM or kill-after timeout)" ;;
222232 esac
223233 fi
0 commit comments