Skip to content

Commit 041f74f

Browse files
milanmajchrakclaude
andcommitted
ZCU-PUB/Run the UI on Node 22 instead of end-of-life Node 18
(cherry picked from commit 835388c) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a199694 commit 041f74f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
strategy:
4747
# Create a matrix of Node versions to test against (in parallel)
4848
matrix:
49-
node-version: [16.x, 18.x]
49+
node-version: [20.x, 22.x]
5050
# Do NOT exit immediately if one matrix job fails
5151
fail-fast: false
5252
# These are the actual CI steps to perform per job
@@ -94,7 +94,7 @@ jobs:
9494
# NOTE: Angular CLI only supports code coverage for specs. See https://github.com/angular/angular-cli/issues/6286
9595
- name: Upload code coverage report to Artifact
9696
uses: actions/upload-artifact@v4
97-
if: matrix.node-version == '18.x'
97+
if: matrix.node-version == '22.x'
9898
with:
9999
name: coverage-report-${{ matrix.node-version }}
100100
path: 'coverage/dspace-angular/lcov.info'

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This image will be published as dspace/dspace-angular
22
# See https://github.com/DSpace/dspace-angular/tree/main/docker for usage details
33

4-
FROM node:18-alpine
4+
FROM docker.io/node:22-alpine
55

66
# Ensure Python and other build tools are available
77
# These are needed to install some node modules, especially on linux/arm64

‎Dockerfile.dist‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Test build:
55
# docker build -f Dockerfile.dist -t dspace/dspace-angular:dspace-7_x-dist .
66

7-
FROM node:18-alpine as build
7+
FROM docker.io/node:22-alpine AS build
88

99
# Ensure Python and other build tools are available
1010
# These are needed to install some node modules, especially on linux/arm64
@@ -17,7 +17,7 @@ RUN yarn install --network-timeout 300000
1717
ADD . /app/
1818
RUN yarn build:prod
1919

20-
FROM node:18-alpine
20+
FROM node:22-alpine
2121
RUN npm install --global pm2
2222

2323
COPY --chown=node:node --from=build /app/dist /app/dist

0 commit comments

Comments
 (0)