From 629ccd6c1e34adcdd01717a0e291ea41c26b9f76 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Fernadez Date: Thu, 7 Nov 2024 20:39:15 -0600 Subject: [PATCH] 9453-update-node-version --- .github/workflows/angular-format.yml | 2 +- .github/workflows/angular-tests.yml | 2 +- .github/workflows/bld_docker_jib.yml | 4 ++++ .github/workflows/cypress new ui.yml | 20 ++++++++++++++++++++ .github/workflows/cypress.yml | 20 ++++++++++++++++++++ .github/workflows/maven.yml | 20 ++++++++++++++++++++ 6 files changed, 66 insertions(+), 2 deletions(-) diff --git a/.github/workflows/angular-format.yml b/.github/workflows/angular-format.yml index 7751d0b41..5092d6cb1 100644 --- a/.github/workflows/angular-format.yml +++ b/.github/workflows/angular-format.yml @@ -20,7 +20,7 @@ jobs: ref: ${{ github.head_ref }} - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: "npm" cache-dependency-path: "ui/package-lock.json" - name: Install dependencies diff --git a/.github/workflows/angular-tests.yml b/.github/workflows/angular-tests.yml index 1a5b78da5..8ad206af9 100644 --- a/.github/workflows/angular-tests.yml +++ b/.github/workflows/angular-tests.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'npm' cache-dependency-path: 'ui/package-lock.json' - name: Install dependencies diff --git a/.github/workflows/bld_docker_jib.yml b/.github/workflows/bld_docker_jib.yml index 33f21da04..3666c2ab6 100644 --- a/.github/workflows/bld_docker_jib.yml +++ b/.github/workflows/bld_docker_jib.yml @@ -112,6 +112,10 @@ jobs: with: distribution: 'temurin' java-version: '11' + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: cache uses: actions/cache@v3 diff --git a/.github/workflows/cypress new ui.yml b/.github/workflows/cypress new ui.yml index fe3523b06..a9e66b037 100644 --- a/.github/workflows/cypress new ui.yml +++ b/.github/workflows/cypress new ui.yml @@ -9,6 +9,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 @@ -51,6 +55,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 @@ -94,6 +102,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 @@ -137,6 +149,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 @@ -180,6 +196,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 70432a42b..c2513ab78 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -9,6 +9,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 @@ -49,6 +53,10 @@ jobs: csv-edit-affiliations: runs-on: ubuntu-latest steps: + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: Checkout uses: actions/checkout@v2 - name: "Create creds json" @@ -94,6 +102,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 @@ -137,6 +149,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 @@ -180,6 +196,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: "Create creds json" id: create-creds-json uses: jsdaniell/create-json@1.1.2 diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 60997171e..c7c8b122d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,6 +25,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: Build Gateway service run: mvn -B verify -Dangular.env=qa -Pprod --file gateway/pom.xml @@ -36,6 +40,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: Build User service run: mvn -B verify -Pprod --file user-service/pom.xml @@ -47,6 +55,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: Build Assertion service run: mvn -B verify -Pprod --file assertion-service/pom.xml @@ -58,6 +70,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: Build Member service run: mvn -B verify -Pprod --file member-service/pom.xml @@ -69,6 +85,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Set up Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' - name: Build Discovery service run: mvn -B verify -Pprod --file discovery-service/pom.xml