Skip to content

Commit 2d1300f

Browse files
authored
Merge pull request #828 from Steinbeck-Lab/chore/node-26
chore: move Node.js to 26
2 parents f00b884 + edd7ec9 commit 2d1300f

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/deploy-doc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Node.js
3333
uses: actions/setup-node@v4
3434
with:
35-
node-version: 20
35+
node-version: 26
3636
cache: npm
3737

3838
# Install dependencies with clean install

‎.github/workflows/frontend-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: '24'
23+
node-version: '26'
2424
cache: 'npm'
2525
cache-dependency-path: frontend/package-lock.json
2626
- run: npm ci

‎frontend/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the React application
2-
FROM node:24-alpine AS build
2+
FROM node:26-alpine AS build
33

44
# Set working directory
55
WORKDIR /app

‎frontend/vite.config.mts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export default defineConfig({
4646
test: {
4747
globals: true,
4848
environment: "jsdom",
49+
// Node 25+ ships a global localStorage that shadows jsdom's and lacks its methods
50+
execArgv: ["--no-experimental-webstorage"],
4951
setupFiles: "./src/__tests__/setup.ts",
5052
css: true,
5153
alias: {

0 commit comments

Comments
 (0)