From 459b2209855929318bf6b9c12ef48b2b9239bb4b Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Thu, 12 Oct 2023 17:24:03 +0200 Subject: [PATCH] global: upgrade to node 18 Use node 18 instead of node 16, as the former is the default version on Fedora/Ubuntu and the latter has reached EOL. Closes #347 --- .github/workflows/ci.yml | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dba909ba..9fc8da7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" - name: Install project dependencies run: yarn global add prettier @@ -68,7 +68,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" - name: Install project dependencies run: yarn global add eslint @@ -85,7 +85,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" - name: Install project dependencies run: yarn diff --git a/Dockerfile b/Dockerfile index d4eefc79..4cf6ccd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/node:16 as react-build +FROM docker.io/library/node:18 as react-build WORKDIR /code COPY . /code # hadolint ignore=DL3003