Skip to content

Commit

Permalink
Bump node from 22-alpine to 23-alpine in /frontend (#8210)
Browse files Browse the repository at this point in the history
* Bump node from 22-alpine to 23-alpine in /frontend

Bumps node from 22-alpine to 23-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* update node version in package.json

* update node version in tests

* update node version in checkGraphql and chromatic

* update env node version variable

* update node version for maintenance mode workflow

* update coverity scan to use node 23

* update node version files

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Merethe Hansen <[email protected]>
Co-authored-by: Mike Brown <[email protected]>
  • Loading branch information
3 people authored Nov 7, 2024
1 parent 3cc7495 commit ca3e805
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkGraphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- main

env:
NODE_VERSION: 22
NODE_VERSION: 23

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- "frontend/**"

env:
NODE_VERSION: 22
NODE_VERSION: 23

jobs:
chromatic-deployment:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
env:
JAVA_VERSION: 17
JAVA_DISTRIBUTION: 'zulu'
NODE_VERSION: 22
NODE_VERSION: 23

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployDemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
DEPLOY_ENV: demo
NODE_VERSION: 22
NODE_VERSION: 23

concurrency:
group: demo-deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
- pentest

env:
NODE_VERSION: 22
NODE_VERSION: 23

concurrency:
group: ${{ github.event.inputs.deploy_env }}-deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
DEPLOY_ENV: prod
NODE_VERSION: 22
NODE_VERSION: 23

concurrency:
group: prod-deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployStg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
DEPLOY_ENV: stg
NODE_VERSION: 22
NODE_VERSION: 23

concurrency:
group: stg-deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
DEPLOY_ENV: test
NODE_VERSION: 22
NODE_VERSION: 23

concurrency:
group: test-deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployTraining.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
DEPLOY_ENV: training
NODE_VERSION: 22
NODE_VERSION: 23

concurrency:
group: training-deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
default: "prod"

env:
NODE_VERSION: 22
NODE_VERSION: 23

jobs:
pushMaintenanceBlob:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:
cancel-in-progress: true

env:
NODE_VERSION: 22
NODE_VERSION: 23
JAVA_VERSION: 17
JAVA_DISTRIBUTION: 'zulu'
PROJECT_ROOT: /home/runner/work/prime-simplereport/prime-simplereport # Hardcoding this here because env.WORKSPACE_ROOT gets overridden by one of the steps downstream. We only need this for Sonar.
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.*
23.*
2 changes: 1 addition & 1 deletion frontend/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.*
23.*
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine as build
FROM node:23-alpine as build
LABEL org.opencontainers.image.source https://github.com/CDCgov/prime-simplereport

# Add bash and git
Expand Down Expand Up @@ -49,7 +49,7 @@ RUN echo "REACT_APP_CONTENT_SECURITY_POLICY_SCRIPT_SRC=''" >> .env.production.lo
RUN yarn run build

# production environment
FROM node:22-alpine
FROM node:23-alpine
RUN npm install -g serve
WORKDIR /app/frontend
COPY --from=build /app/frontend/build /app/frontend/build
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"engines": {
"node": "22"
"node": "23"
},
"dependencies": {
"@apollo/client": "^3.8.3",
Expand Down

0 comments on commit ca3e805

Please sign in to comment.