Bump default Node.js version to 24 across all reusable workflows

npm 11 (Node 24) generates lockfileVersion 3 which breaks npm ci
on Node 22's npm 10 for repos with aws-cdk-lib bundled deps.
This commit is contained in:
Adam Moussa 2026-05-14 18:21:57 -04:00
parent 46890f3248
commit eccdd46b44
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ on:
node-version: node-version:
description: "Node.js version to use" description: "Node.js version to use"
type: string type: string
default: "22" default: "24"
python-version: python-version:
description: "Python version for Python CDK repos (leave empty for TypeScript CDK)" description: "Python version for Python CDK repos (leave empty for TypeScript CDK)"
type: string type: string

View file

@ -34,7 +34,7 @@ on:
node-version: node-version:
description: "Node.js version for CDK CLI" description: "Node.js version for CDK CLI"
type: string type: string
default: "22" default: "24"
jobs: jobs:
ci: ci:

View file

@ -6,7 +6,7 @@ on:
node-version: node-version:
description: "Node.js version to use" description: "Node.js version to use"
type: string type: string
default: "22" default: "24"
run-typecheck: run-typecheck:
description: "Run tsc --noEmit" description: "Run tsc --noEmit"
type: boolean type: boolean