Update node

This commit is contained in:
Owen
2026-10-23 09:39:20 -04:00
parent 8943d3d204
commit f40cf0f2bf
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -34,9 +34,9 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with: with:
# Match the version the app ships on (Dockerfile / # Match the version the app ships on (Dockerfile /
# Dockerfile.dev both use 24.18.1) rather than floating # Dockerfile.dev both use 24.22.1) rather than floating
# to the latest 24.x. # to the latest 24.x.
node-version: '24.18.1' node-version: '24.22.1'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
+2 -2
View File
@@ -20,12 +20,12 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with: with:
# Pin to the version the app actually ships on (Dockerfile / # Pin to the version the app actually ships on (Dockerfile /
# Dockerfile.dev both use 24.18.1; .nvmrc pins the 24 major). # Dockerfile.dev both use 24.22.1; .nvmrc pins the 24 major).
# A bare '24' floats to the latest 24.x; Node >= 24.19.0 added # A bare '24' floats to the latest 24.x; Node >= 24.19.0 added
# node::ObjectWrap cleanup hooks that crash better-sqlite3 on teardown # node::ObjectWrap cleanup hooks that crash better-sqlite3 on teardown
# ("Assertion failed: (env) != nullptr" in RemoveEnvironmentCleanupHook), # ("Assertion failed: (env) != nullptr" in RemoveEnvironmentCleanupHook),
# which intermittently kills `npm run dev` in the step below. # which intermittently kills `npm run dev` in the step below.
node-version: '24.18.1' node-version: '24.22.1'
- name: Copy config file - name: Copy config file
run: cp config/config.example.yml config/config.yml run: cp config/config.example.yml config/config.yml
+4 -4
View File
@@ -1,5 +1,5 @@
# FROM node:24.18.1-slim AS base # FROM node:24.22.1-slim AS base
FROM public.ecr.aws/docker/library/node:24.18.1-slim AS base FROM public.ecr.aws/docker/library/node:24.22.1-slim AS base
WORKDIR /app WORKDIR /app
@@ -35,8 +35,8 @@ RUN npm prune --omit=dev && \
# Real files should be present for saas builds, placeholders for oss builds # Real files should be present for saas builds, placeholders for oss builds
RUN touch /app/GeoLite2-Country.mmdb /app/GeoLite2-ASN.mmdb RUN touch /app/GeoLite2-Country.mmdb /app/GeoLite2-ASN.mmdb
# FROM node:24.18.1-slim AS runner # FROM node:24.22.1-slim AS runner
FROM public.ecr.aws/docker/library/node:24.18.1-slim AS runner FROM public.ecr.aws/docker/library/node:24.22.1-slim AS runner
WORKDIR /app WORKDIR /app
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:24.18.1-alpine FROM node:24.22.1-alpine
WORKDIR /app WORKDIR /app