Skip to content

Commit

Permalink
build(frontend): upgrade to Node 22
Browse files Browse the repository at this point in the history
Node 22 enters LTS on 29th October 2024. Upgrading shouldn't be more than just changing the Node version in the builds.
  • Loading branch information
eatyourgreens committed Oct 25, 2024
1 parent d240aca commit 7145fe1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version-file: ./frontend/.nvmrc
Expand Down
2 changes: 1 addition & 1 deletion frontend/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.17.0
v22.10.0
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# multistage build of nginx image

# stage 1 of 2
FROM node:20-bullseye AS builder
FROM node:22-alpine AS builder
WORKDIR /app

# install npm packages -- do this before copying everything else
Expand Down

0 comments on commit 7145fe1

Please sign in to comment.