mirror of
https://github.com/fosrl/pangolin.git
synced 2026-10-24 05:29:05 +02:00
Update node
This commit is contained in:
@@ -34,9 +34,9 @@ jobs:
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
# 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.
|
||||
node-version: '24.18.1'
|
||||
node-version: '24.22.1'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
@@ -20,12 +20,12 @@ jobs:
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
# 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
|
||||
# node::ObjectWrap cleanup hooks that crash better-sqlite3 on teardown
|
||||
# ("Assertion failed: (env) != nullptr" in RemoveEnvironmentCleanupHook),
|
||||
# which intermittently kills `npm run dev` in the step below.
|
||||
node-version: '24.18.1'
|
||||
node-version: '24.22.1'
|
||||
|
||||
- name: Copy config file
|
||||
run: cp config/config.example.yml config/config.yml
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
# FROM node:24.18.1-slim AS base
|
||||
FROM public.ecr.aws/docker/library/node:24.18.1-slim AS base
|
||||
# FROM node:24.22.1-slim AS base
|
||||
FROM public.ecr.aws/docker/library/node:24.22.1-slim AS base
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -35,8 +35,8 @@ RUN npm prune --omit=dev && \
|
||||
# Real files should be present for saas builds, placeholders for oss builds
|
||||
RUN touch /app/GeoLite2-Country.mmdb /app/GeoLite2-ASN.mmdb
|
||||
|
||||
# FROM node:24.18.1-slim AS runner
|
||||
FROM public.ecr.aws/docker/library/node:24.18.1-slim AS runner
|
||||
# FROM node:24.22.1-slim AS runner
|
||||
FROM public.ecr.aws/docker/library/node:24.22.1-slim AS runner
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM node:24.18.1-alpine
|
||||
FROM node:24.22.1-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user