From d4c6abaad12c0adeded005a49e2bfd9214959078 Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com> Date: Tue, 1 Nov 2022 17:01:13 +0000 Subject: [PATCH] Udpate npm versions --- .github/workflows/artifact-tests.yml | 3 ++- .github/workflows/audit.yml | 3 ++- .github/workflows/cache-tests.yml | 3 ++- .github/workflows/releases.yml | 3 ++- .github/workflows/unit-tests.yml | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/artifact-tests.yml b/.github/workflows/artifact-tests.yml index 4daf49f4..88a3e831 100644 --- a/.github/workflows/artifact-tests.yml +++ b/.github/workflows/artifact-tests.yml @@ -24,10 +24,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Set Node.js 12.x + - name: Set Node.js 14.x uses: actions/setup-node@v1 with: node-version: 14.x + - run: npm install -g npm@latest # In order to upload & download artifacts from a shell script, certain env variables need to be set that are only available in the # node context. This runs a local action that gets and sets the necessary env variables that are needed diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 9976c40b..ba07897d 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -20,10 +20,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Set Node.js 12.x + - name: Set Node.js 14.x uses: actions/setup-node@v1 with: node-version: 14.x + - run: npm install -g npm@latest - name: npm install run: npm install diff --git a/.github/workflows/cache-tests.yml b/.github/workflows/cache-tests.yml index d8c082b1..50b987c0 100644 --- a/.github/workflows/cache-tests.yml +++ b/.github/workflows/cache-tests.yml @@ -24,10 +24,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Set Node.js 12.x + - name: Set Node.js 14.x uses: actions/setup-node@v1 with: node-version: 14.x + - run: npm install -g npm@latest # In order to save & restore cache from a shell script, certain env variables need to be set that are only available in the # node context. This runs a local action that gets and sets the necessary env variables that are needed diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 912502be..3d2f5c38 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -18,10 +18,11 @@ jobs: - name: verify package exists run: ls packages/${{ github.event.inputs.package }} - - name: Set Node.js 12.x + - name: Set Node.js 14.x uses: actions/setup-node@v1 with: node-version: 14.x + - run: npm install -g npm@latest - name: npm install run: npm install diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b0e73713..d0da1257 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -25,10 +25,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Set Node.js 12.x + - name: Set Node.js 14.x uses: actions/setup-node@v1 with: node-version: 14.x + - run: npm install -g npm@latest - name: npm install run: npm install