From d8376a2a24a0c057a45e2ca1146607bf73d59c3c Mon Sep 17 00:00:00 2001 From: Ivan Fraixedes Date: Wed, 4 Oct 2023 18:00:25 +0200 Subject: [PATCH] Earthfile: Use same NodeJS version as Makefile Makefile defines the NodeJS version to use for building front-end sources. Earthfile must use the same version for guaranteeing the same results. Change-Id: I74d5629a2a4489392d2a3303a03a7ccf012f8b24 --- Earthfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Earthfile b/Earthfile index ac01306eb..b8a942d36 100644 --- a/Earthfile +++ b/Earthfile @@ -3,7 +3,7 @@ FROM golang:1.19 WORKDIR /go/storj multinode-web: - FROM node:18 + FROM node:18.17 WORKDIR /build COPY web/multinode . RUN ./build.sh @@ -21,7 +21,7 @@ wasm: SAVE ARTIFACT release/earthly/wasm wasm AS LOCAL web/satellite/static/wasm storagenode-web: - FROM node:18 + FROM node:18.17 WORKDIR /build COPY web/storagenode . RUN ./build.sh @@ -29,7 +29,7 @@ storagenode-web: SAVE ARTIFACT static AS LOCAL web/storagenode/static satellite-web: - FROM node:18 + FROM node:18.17 WORKDIR /build COPY web/satellite . RUN ./build.sh @@ -39,7 +39,7 @@ satellite-web: SAVE ARTIFACT static AS LOCAL web/satellite/static satellite-admin: - FROM node:16 + FROM node:18.17 WORKDIR /build COPY satellite/admin/ui . RUN ./build.sh