From fc44924256276d043ca3ad23e0419b6b9460e43f Mon Sep 17 00:00:00 2001 From: Sylvere Richard Date: Sat, 5 Oct 2024 18:45:37 +0200 Subject: [PATCH] fix: ensure Dockerfile and github actions use the same nodejs version --- .github/workflows/format-build-frontend.yaml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/format-build-frontend.yaml b/.github/workflows/format-build-frontend.yaml index 9ee57f475..6564cc813 100644 --- a/.github/workflows/format-build-frontend.yaml +++ b/.github/workflows/format-build-frontend.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' # Or specify any other version you want to use + node-version: '21' # Or specify any other version you want to use - name: Install Dependencies run: npm install @@ -48,7 +48,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '21' - name: Install Dependencies run: npm ci diff --git a/Dockerfile b/Dockerfile index 0a486eceb..7dbc3795f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ ARG UID=0 ARG GID=0 ######## WebUI frontend ######## -FROM --platform=$BUILDPLATFORM node:21-alpine3.19 AS build +FROM --platform=$BUILDPLATFORM node:21-alpine3.20 AS build ARG BUILD_HASH WORKDIR /app