Skip to content

Commit

Permalink
Merge pull request #2583 from bcgov/task/DESENG-682-upgrade-to-node-20
Browse files Browse the repository at this point in the history
[To Main] Task - DESENG-682: Upgrade to node 20
  • Loading branch information
NatSquared committed Aug 28, 2024
2 parents be4394d + a60c957 commit b0cb3b1
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 166 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/met-web-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## August 27, 2024

- **Task** Upgrade to Node v20 [🎟️ DESENG-682](https://citz-gdx.atlassian.net/browse/DESENG-682)
- Upgraded deployment / CI configs to reference Node v20

## August 22, 2024

- **Task** Merge engagement summary content and custom content [🎟️ DESENG-676](https://citz-gdx.atlassian.net/browse/DESENG-676)
- Combine the text and rich content fields from redundant types SummaryContent and CustomContent and store them in
the existing EngagementContent table
- Update the API to handle the new content structure
- Todo: Update the frontend to properly leverage the new content structure and allow editing of the simplified content type

## August 21, 2024

- **Feature** Reusable widget component [🎟️ DESENG-675](https://citz-gdx.atlassian.net/browse/DESENG-675)
Expand Down
4 changes: 2 additions & 2 deletions met-web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# "build-stage", based on Node.js, to build and compile the frontend
# pull official base image
FROM node:16-alpine as build-stage
FROM node:20-alpine as build-stage

# set working directory
WORKDIR /app
Expand All @@ -19,7 +19,7 @@ COPY package.json ./
COPY package-lock.json ./
COPY .npmrc ./

RUN npm install --legacy-peer-deps --silent
RUN apk --no-cache add g++ make py3-pip && npm install --legacy-peer-deps --silent
RUN npm install [email protected] -g --silent

# create and set user permissions to app folder
Expand Down
Loading

0 comments on commit b0cb3b1

Please sign in to comment.