From 37b5d576d1d03c575653ed15cb9c4126984ddac4 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Fri, 13 Dec 2024 08:45:31 -0500 Subject: [PATCH] Update dockerfile and workflow actions for node 20. --- .github/workflows/accessibility-testing.yaml | 2 +- .github/workflows/build-and-deploy.yaml | 2 +- .github/workflows/code-quality.yaml | 8 ++++---- .github/workflows/e2e-testing.yaml | 2 +- Dockerfile | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/accessibility-testing.yaml b/.github/workflows/accessibility-testing.yaml index 273395d3..54cdbdc6 100644 --- a/.github/workflows/accessibility-testing.yaml +++ b/.github/workflows/accessibility-testing.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Node environment uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install project dependencies run: npm ci diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml index 81a36435..5ac1491d 100644 --- a/.github/workflows/build-and-deploy.yaml +++ b/.github/workflows/build-and-deploy.yaml @@ -14,7 +14,7 @@ jobs: - name: Set up Node environment uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml index 6bf3adba..eb92018d 100644 --- a/.github/workflows/code-quality.yaml +++ b/.github/workflows/code-quality.yaml @@ -15,7 +15,7 @@ jobs: - name: Set up Node environment uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci @@ -33,7 +33,7 @@ jobs: - name: Set up Node environment uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci @@ -51,7 +51,7 @@ jobs: - name: Set up Node environment uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci @@ -69,7 +69,7 @@ jobs: - name: Set up Node environment uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci diff --git a/.github/workflows/e2e-testing.yaml b/.github/workflows/e2e-testing.yaml index cbab619e..70a4c340 100644 --- a/.github/workflows/e2e-testing.yaml +++ b/.github/workflows/e2e-testing.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Node environment uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci diff --git a/Dockerfile b/Dockerfile index 46d757a2..88f55566 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build the React app -FROM node:18.20 as build +FROM node:20.18.1 as build # Set the working directory in the container WORKDIR /app