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 devops-pipelines/backend/backend-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ stages:
appName: 'fa-cmrc-api-dev'
environment: 'dev'
postmanCollectionPath: '$(System.DefaultWorkingDirectory)/src/backend/postman/RegisterCaseAPITests.postman_collection.json'
nodeVersion: '20.x'
nodeVersion: '24.x'

- template: ../templates/backend-deploy-stages.yml
parameters:
Expand Down
4 changes: 2 additions & 2 deletions devops-pipelines/templates/ui-build-and-deploy-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ stages:
variables:
- group: cmrc-ui-config-${{ parameters.environment }}
- name: nodeVersion
value: '20.x'
value: '24.x'
- name: workingDir
value: 'src/ui-spa'
steps:
Expand Down Expand Up @@ -117,7 +117,7 @@ stages:
deployToSlotOrASE: ${{ parameters.deployToSlot }}
slotName: ${{ parameters.slotName }}
packageForLinux: '$(Pipeline.Workspace)/$(buildArtifact)'
RuntimeStack: 'NODE|20-lts'
RuntimeStack: 'NODE|24-lts'
StartupCommand: 'pm2 serve /home/site/wwwroot/ --no-daemon --spa'
displayName: 'Deploy app to ${{ parameters.environment }}'

Expand Down
2 changes: 1 addition & 1 deletion devops-pipelines/ui/ui-pr-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pool: 'CMRC PreProd Pool'

variables:
- name: nodeVersion
value: '20.x'
value: '24.x'
- name: workingDir
value: src/ui-spa
- name: covDir
Expand Down
1 change: 1 addition & 0 deletions src/ui-spa/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
4 changes: 4 additions & 0 deletions src/ui-spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"private": true,
"version": "0.0.0",
"type": "module",
"engines": {
"node": "24.x",
"npm": "11.x"
},
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build && rimraf dist/mockServiceWorker.js",
Expand Down
Loading