From 901e629601f7ffc0ecc29475ccec13013af12460 Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Thu, 22 Oct 2026 10:54:03 -0400 Subject: [PATCH 1/2] ci: default to Node.js 24 --- .github/actions/cache-restore/action.yml | 2 +- .github/workflows/check-packages.yml | 2 +- .github/workflows/node-setup.yml | 2 +- .github/workflows/npm-publish.yml | 4 ++-- .github/workflows/release-packages.yml | 4 ++-- .nvmrc | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/cache-restore/action.yml b/.github/actions/cache-restore/action.yml index a094b9e23..e876a3a4b 100644 --- a/.github/actions/cache-restore/action.yml +++ b/.github/actions/cache-restore/action.yml @@ -5,7 +5,7 @@ inputs: node-version: description: 'Node version to use, default to LTS' required: true - default: 22 + default: 24 outputs: cache-hit: description: 'Forward actions/cache cache-hit output' diff --git a/.github/workflows/check-packages.yml b/.github/workflows/check-packages.yml index 41aca9415..7fd54b08e 100644 --- a/.github/workflows/check-packages.yml +++ b/.github/workflows/check-packages.yml @@ -14,7 +14,7 @@ jobs: uses: ./.github/workflows/node-setup.yml strategy: matrix: - node-version: [22] + node-version: [24] with: node-version: ${{ matrix.node-version }} check_lint: diff --git a/.github/workflows/node-setup.yml b/.github/workflows/node-setup.yml index 866975f1f..b5d1aaba9 100644 --- a/.github/workflows/node-setup.yml +++ b/.github/workflows/node-setup.yml @@ -8,7 +8,7 @@ on: description: 'Node version to use, default to LTS' required: true type: string - default: '22' + default: '24' jobs: setup: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2232d626a..d005e14b2 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,10 +18,10 @@ jobs: - name: Checkout Repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - name: Setup Node.js 22.x + - name: Setup Node.js 24.x uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 22.x + node-version: 24.x registry-url: 'https://registry.npmjs.org' - name: Install Dependencies diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index a47835b90..4ca08f39d 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -41,10 +41,10 @@ jobs: with: ref: ${{ fromJSON(needs.release-please.outputs.pr).headBranchName }} - - name: Setup Node.js 22.x + - name: Setup Node.js 24.x uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 22.x + node-version: 24.x - name: Update plugin header, Stable tag, and readme.txt changelog run: node scripts/versionPlugin.js diff --git a/.nvmrc b/.nvmrc index 2bd5a0a98..a45fd52cc 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22 +24 From 709c16341b4be793177f7e949b8eae3637946acf Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Thu, 22 Oct 2026 11:03:57 -0400 Subject: [PATCH 2/2] ci: always set up the latest Node.js patch release --- .github/actions/cache-restore/action.yml | 1 + .github/workflows/e2e-next-faustwp-example.yml | 1 + .github/workflows/e2e-nightly-build.yml | 1 + .github/workflows/npm-publish.yml | 1 + .github/workflows/release-packages.yml | 1 + .github/workflows/unit-test-packages.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/actions/cache-restore/action.yml b/.github/actions/cache-restore/action.yml index e876a3a4b..1791a7df3 100644 --- a/.github/actions/cache-restore/action.yml +++ b/.github/actions/cache-restore/action.yml @@ -19,6 +19,7 @@ runs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: ${{ inputs.node-version }} + check-latest: true - name: Cache Node Modules id: node-cache diff --git a/.github/workflows/e2e-next-faustwp-example.yml b/.github/workflows/e2e-next-faustwp-example.yml index 0cc51d7b3..540b30464 100644 --- a/.github/workflows/e2e-next-faustwp-example.yml +++ b/.github/workflows/e2e-next-faustwp-example.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: ${{ matrix.node }} + check-latest: true # Copy the example from this checkout so the app is built from the # PR's own example source. - name: copy getting started example diff --git a/.github/workflows/e2e-nightly-build.yml b/.github/workflows/e2e-nightly-build.yml index 7f9c86aeb..51eab85fe 100644 --- a/.github/workflows/e2e-nightly-build.yml +++ b/.github/workflows/e2e-nightly-build.yml @@ -25,6 +25,7 @@ jobs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: ${{ matrix.node }} + check-latest: true # Install faust-scaffold-ts via npx create next app - name: npx create next app diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d005e14b2..e095ee97a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -22,6 +22,7 @@ jobs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24.x + check-latest: true registry-url: 'https://registry.npmjs.org' - name: Install Dependencies diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index 4ca08f39d..e85789ff2 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -45,6 +45,7 @@ jobs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24.x + check-latest: true - name: Update plugin header, Stable tag, and readme.txt changelog run: node scripts/versionPlugin.js diff --git a/.github/workflows/unit-test-packages.yml b/.github/workflows/unit-test-packages.yml index ad192e83b..778044b9c 100644 --- a/.github/workflows/unit-test-packages.yml +++ b/.github/workflows/unit-test-packages.yml @@ -25,6 +25,7 @@ jobs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: ${{ matrix.node }} + check-latest: true - name: Install run: npm ci