Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest]
node: ["20"]
node: ["24"]
name: API Tests - ${{ matrix.node }}/${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
npm ci
npm run test:cov
dir: services
node_version: "20"
node_version: "24"
sonar_args: >
-Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts
-Dsonar.organization=bcgov-sonarcloud
Expand Down
7 changes: 4 additions & 3 deletions services/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ WORKDIR /opt/app-root/

COPY --chown=node:node package*.json ./

RUN npm install -g npm@11
RUN npm ci --ignore-scripts

COPY --chown=node:node . .
Expand All @@ -25,13 +26,11 @@ ARG NEST_APP=alcs
WORKDIR /opt/app-root/

COPY --chown=node:node package*.json ./

COPY --chown=node:node --from=development /opt/app-root/node_modules ./node_modules

COPY --chown=node:node . .

RUN npm install -g npm@11
RUN npm run build ${NEST_APP}

RUN npm ci --ignore-scripts --only=production && npm cache clean --force

USER node
Expand Down Expand Up @@ -60,6 +59,8 @@ COPY ./config/ /opt/app-root/config/
COPY ./local-certificates /opt/app-root/local-certificates
COPY ./templates/ /opt/app-root/templates/

RUN npm install -g npm@11

# Create Empty Config File if not Exists
RUN mkdir -p /vault/secrets
RUN touch /vault/secrets/config
Expand Down
44 changes: 30 additions & 14 deletions services/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"alcs:migration:run": "npm run alcs:typeorm migration:run"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.985.0",
"@aws-sdk/s3-request-presigner": "^3.985.0",
"@aws-sdk/client-s3": "^3.986.0",
"@aws-sdk/s3-request-presigner": "^3.986.0",
"@fastify/cors": "^11.2.0",
"@fastify/helmet": "^13.0.2",
"@fastify/multipart": "^9.4.0",
Expand Down