File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 4848 strategy :
4949 matrix :
5050 platform : [ubuntu-latest]
51- node : ["20 "]
51+ node : ["24 "]
5252 name : API Tests - ${{ matrix.node }}/${{ matrix.platform }}
5353 runs-on : ${{ matrix.platform }}
5454 steps :
Original file line number Diff line number Diff line change 4242 npm ci
4343 npm run test:cov
4444 dir : services
45- node_version : " 20 "
45+ node_version : " 24 "
4646 sonar_args : >
4747 -Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts
4848 -Dsonar.organization=bcgov-sonarcloud
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ WORKDIR /opt/app-root/
99
1010COPY --chown=node:node package*.json ./
1111
12+ RUN npm install -g npm@11
1213RUN npm ci --ignore-scripts
1314
1415COPY --chown=node:node . .
@@ -25,13 +26,11 @@ ARG NEST_APP=alcs
2526WORKDIR /opt/app-root/
2627
2728COPY --chown=node:node package*.json ./
28-
2929COPY --chown=node:node --from=development /opt/app-root/node_modules ./node_modules
30-
3130COPY --chown=node:node . .
3231
32+ RUN npm install -g npm@11
3333RUN npm run build ${NEST_APP}
34-
3534RUN npm ci --ignore-scripts --only=production && npm cache clean --force
3635
3736USER node
@@ -60,6 +59,8 @@ COPY ./config/ /opt/app-root/config/
6059COPY ./local-certificates /opt/app-root/local-certificates
6160COPY ./templates/ /opt/app-root/templates/
6261
62+ RUN npm install -g npm@11
63+
6364# Create Empty Config File if not Exists
6465RUN mkdir -p /vault/secrets
6566RUN touch /vault/secrets/config
You can’t perform that action at this time.
0 commit comments