Skip to content

Commit d2a2411

Browse files
committed
Upgrade nodejs to v20.17
Fixes problem with Playwright, see microsoft/playwright#29253
1 parent 8c93f70 commit d2a2411

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 20.7
20+
node-version: 20.17
2121
cache: 'npm'
2222

2323
- name: Install dependencies
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install Node.js
4242
uses: actions/setup-node@v4
4343
with:
44-
node-version: 20.7
44+
node-version: 20.17
4545
cache: 'npm'
4646
- name: Install dependencies
4747
run: npm ci
@@ -81,7 +81,7 @@ jobs:
8181
- name: Install Node.js
8282
uses: actions/setup-node@v4
8383
with:
84-
node-version: 20.7
84+
node-version: 20.17
8585
cache: 'npm'
8686
- name: Install dependencies
8787
run: npm ci

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
# - docker-entrypoint.sh must start as root
2727

2828

29-
FROM node:20.7 as builder
29+
FROM node:20.17 as builder
3030

3131
WORKDIR /app
3232
COPY . .
3333

3434

3535
RUN npm ci
36-
RUN npm run build
36+
RUN npm run build
3737

3838

39-
FROM node:20.7-alpine
39+
FROM node:20.17-alpine
4040

4141
RUN npm i -g sirv-cli
4242

Dockerfile_dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727

28-
FROM node:20.7 as builder
28+
FROM node:20.17 as builder
2929
MAINTAINER fnndsc "[email protected]"
3030

3131
# Pass a UID on build command line (see above) to set internal UID
@@ -41,4 +41,4 @@ USER localuser
4141
WORKDIR $HOME
4242
EXPOSE 3000
4343

44-
CMD npm install && npm run dev
44+
CMD npm install && npm run dev

0 commit comments

Comments
 (0)