Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend: bump node version to 22 #808

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
jobs:
build:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

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

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY ./backend ./
RUN make build

# Frontend build
FROM docker.io/library/node:15 as frontend-install
FROM docker.io/library/node:22 as frontend-install
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm install
Expand Down
3 changes: 3 additions & 0 deletions frontend/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# To be dropped once Webpack is upgraded to v5
export NODE_OPTIONS=--openssl-legacy-provider

.PHONY: frontend
frontend: build

Expand Down
24 changes: 15 additions & 9 deletions frontend/package-lock.json

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

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"moment-timezone": "^0.5.38",
"prop-types": "^15.7.2",
"pubsub-js": "^1.9.3",
"querystring-es3": "^0.2.1",
"react": "^17.0.2",
"react-color": "^2.17.3",
"react-dom": "^17.0.2",
Expand Down
Loading