From 2a3f64203990a94a7229b3943c5a8138c941e012 Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Sat, 14 Nov 2026 19:24:29 +0100 Subject: [PATCH] Use Node 26 in CI and Vercel builds --- .github/workflows/quality.yml | 22 +++++++++++++++++++--- README.md | 2 ++ package.json | 3 +++ 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 15858ca..151cc05 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -21,6 +21,12 @@ jobs: - name: Check out repository uses: actions/checkout@v5 + - name: Set up Node + # Node is also used directly by typecheck/build scripts and Vercel. + uses: actions/setup-node@v6 + with: + node-version: 26 + - name: Set up Bun uses: oven-sh/setup-bun@v2 with: @@ -66,6 +72,11 @@ jobs: - name: Check out repository uses: actions/checkout@v5 + - name: Set up Node + uses: actions/setup-node@v6 + with: + node-version: 26 + - name: Set up Bun uses: oven-sh/setup-bun@v2 with: @@ -130,6 +141,11 @@ jobs: - name: Check out repository uses: actions/checkout@v5 + - name: Set up Node + uses: actions/setup-node@v6 + with: + node-version: 26 + - name: Set up Bun uses: oven-sh/setup-bun@v2 with: @@ -143,18 +159,18 @@ jobs: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - run: bunx vercel@59.1.4 pull --yes --environment=production --token="${VERCEL_TOKEN}" + run: bunx vercel@65.16.0 pull --yes --environment=production --token="${VERCEL_TOKEN}" - name: Build Vercel prebuilt output env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - run: bunx vercel@59.1.4 build --prod --token="${VERCEL_TOKEN}" + run: bunx vercel@65.16.0 build --prod --token="${VERCEL_TOKEN}" - name: Deploy production to Vercel env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - run: bunx vercel@59.1.4 deploy --prebuilt --prod --token="${VERCEL_TOKEN}" + run: bunx vercel@65.16.0 deploy --prebuilt --prod --token="${VERCEL_TOKEN}" diff --git a/README.md b/README.md index 499f873..f08faf8 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ Playable here: ## Quick start +Use Node.js 26.x and Bun 1.3.5. CI and the Vercel project use Node 26 as well. + ```bash bun install bun run dev diff --git a/package.json b/package.json index bc0e9d0..cac219b 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "license": "MIT", "private": true, "packageManager": "bun@1.3.5", + "engines": { + "node": "26.x" + }, "type": "module", "scripts": { "dev": "vite",