From 2e5a25b0318ed06bab2c9775d2c7f51a88a3174c Mon Sep 17 00:00:00 2001 From: James McLeod Date: Tue, 3 Sep 2024 15:03:31 +0100 Subject: [PATCH] Update node to v20 (#411) * update base image to node20.8-alpine3.17 * update workflows to use node v20 * update base image to node20.17-alpine3.20 --- .github/workflows/build.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3cd931c..f90e1a2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install modules run: npm install - name: Tests diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 684e8ee4..d38a22ee 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Install modules run: npm install - name: Run ESLint diff --git a/Dockerfile b/Dockerfile index ffa074c8..897b3ff2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.13.0-alpine3.17 as builder +FROM node:20.17.0-alpine3.20 as builder WORKDIR /src/fe