File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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'
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
1717ADD . /app/
1818RUN yarn build:prod
1919
20- FROM node:18 -alpine
20+ FROM node:22 -alpine
2121RUN npm install --global pm2
2222
2323COPY --chown=node:node --from=build /app/dist /app/dist
You can’t perform that action at this time.
0 commit comments