From 6eb0b5f5cad6a5437b5e7ebfc8863154457159f9 Mon Sep 17 00:00:00 2001 From: "Amy J. Ko" Date: Sat, 7 Nov 2026 15:55:16 -0800 Subject: [PATCH] Move CI to checkout and setup-node v7, and Node 24. GitHub has deprecated Node 20, which the v4 actions run on, and was already forcing them onto Node 24. None of the v5-v7 breaking changes apply here: the runners are GitHub-hosted, every setup-node step already sets cache: npm, and nothing publishes to npm or pushes with git. Tests and the production build now run on Node 24, the version Vercel uses in production, rather than 22. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/production.yaml | 12 ++++++------ .github/workflows/test.yaml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 0e3326d..2c6a9ad 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -50,11 +50,11 @@ jobs: SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: - node-version: 22 + node-version: 24 cache: npm # The CLI from devDependencies, so migrations are applied by the same version the tests ran @@ -79,11 +79,11 @@ jobs: VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: - node-version: 22 + node-version: 24 cache: npm - run: npm install --global vercel@latest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2629ed8..2a0fce1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: - node-version: 22 + node-version: 24 cache: npm - run: npm ci