From 409d115259cf47997c39ab44f9ba02878bb04c6f Mon Sep 17 00:00:00 2001 From: Chris Sherlock <99017916+cshnimble@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:51:36 +0100 Subject: [PATCH 1/3] Update Dockerfile to node 18.20.x --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0716f04e3..163147317 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Stage 1 ARG ASPNET_IMAGE_TAG=8.0-bookworm-slim -ARG NODEJS_IMAGE_TAG=16-bullseye +ARG NODEJS_IMAGE_TAG=18.20-bullseye ARG COMMIT_SHA=not-set FROM mcr.microsoft.com/dotnet/sdk:8.0 AS publish From 0cfb65aba87cfb62ed6d20821cb7bac03d5c56ee Mon Sep 17 00:00:00 2001 From: Chris Sherlock <99017916+cshnimble@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:52:27 +0100 Subject: [PATCH 2/3] Update package.json --- ConcernsCaseWork/ConcernsCaseWork/wwwroot/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConcernsCaseWork/ConcernsCaseWork/wwwroot/package.json b/ConcernsCaseWork/ConcernsCaseWork/wwwroot/package.json index 542c382a5..264548d3e 100644 --- a/ConcernsCaseWork/ConcernsCaseWork/wwwroot/package.json +++ b/ConcernsCaseWork/ConcernsCaseWork/wwwroot/package.json @@ -1,6 +1,6 @@ { "engines": { - "node": ">=14.0.0 <17.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "npm run build:assets && npm run build:frontend --env.NODE_ENV=production && npm run build:sass-migrator", From 73493b5ce13a1031b34d37e9235eeb2c967c8a90 Mon Sep 17 00:00:00 2001 From: Chris Sherlock <99017916+cshnimble@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:52:47 +0100 Subject: [PATCH 3/3] Update build-and-push-image.yml --- .github/workflows/build-and-push-image.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build-and-push-image.yml b/.github/workflows/build-and-push-image.yml index 5c893e2e5..e3f45c5b7 100644 --- a/.github/workflows/build-and-push-image.yml +++ b/.github/workflows/build-and-push-image.yml @@ -14,9 +14,6 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.inputs.environment }} -env: - NODE_VERSION: 16.x - jobs: set-env: name: Determine environment