From 1c2432bee72407082f6cbe7baed4e3a063fcb417 Mon Sep 17 00:00:00 2001 From: Aurelien Benel Date: Fri, 29 Mar 2024 14:24:26 +0100 Subject: [PATCH] PROCESS: Github Actions upgraded to Node 20. --- .github/workflows/build.yml | 8 ++++---- .github/workflows/tests.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6abdd252..f21229a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,11 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Download sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'npm' cache-dependency-path: frontend/package-lock.json - name: Install frontend dependencies @@ -24,7 +24,7 @@ jobs: cd frontend npm run build - name: Save frontend build for later - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: frontend-build path: frontend/build diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 425efb27..bf290298 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download tools run: | cd backend @@ -45,7 +45,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha || github.sha }} repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Get frontend build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: frontend-build path: frontend/build