From aef5fe06732a411cca723d5e29c495682b057685 Mon Sep 17 00:00:00 2001 From: Pierre-Gilles Leymarie Date: Thu, 9 Jan 2025 13:14:06 +0100 Subject: [PATCH] Fix builds: Stop re-installing npm --- .github/workflows/docker-master-test.yml | 4 ++-- .github/workflows/docker-pr-build.yml | 4 ++-- .github/workflows/docker-release-build.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-master-test.yml b/.github/workflows/docker-master-test.yml index 07087243c8..9249bd0b4e 100644 --- a/.github/workflows/docker-master-test.yml +++ b/.github/workflows/docker-master-test.yml @@ -19,7 +19,7 @@ jobs: cache-dependency-path: '**/package-lock.json' - name: 📦 Install Global NPM Packages run: | - sudo npm install typescript node-gyp npm@latest -g + sudo npm install typescript node-gyp -g - name: 📦 Install NPM front packages working-directory: ./front run: | @@ -86,7 +86,7 @@ jobs: sudo apt-get install -y libudev-dev sqlite3 openssl python-is-python3 - name: 📦 Install Global NPM Packages run: | - sudo npm install typescript node-gyp npm@latest -g + sudo npm install typescript node-gyp -g - name: 📦 Install NPM server packages working-directory: ./server run: | diff --git a/.github/workflows/docker-pr-build.yml b/.github/workflows/docker-pr-build.yml index cccb00d5d1..212fb8bd85 100644 --- a/.github/workflows/docker-pr-build.yml +++ b/.github/workflows/docker-pr-build.yml @@ -25,7 +25,7 @@ jobs: cache-dependency-path: '**/package-lock.json' - name: 📦 Install Global NPM Packages run: | - sudo npm install typescript node-gyp npm@latest -g + sudo npm install typescript node-gyp -g - name: 📦 Install NPM front packages working-directory: ./front run: | @@ -62,7 +62,7 @@ jobs: sudo apt-get install -y libudev-dev sqlite3 openssl python-is-python3 - name: 📦 Install Global NPM Packages run: | - sudo npm install typescript node-gyp npm@latest -g + sudo npm install typescript node-gyp -g - name: 📦 Install NPM server packages working-directory: ./server run: | diff --git a/.github/workflows/docker-release-build.yml b/.github/workflows/docker-release-build.yml index a9f8083713..2c0521dea4 100644 --- a/.github/workflows/docker-release-build.yml +++ b/.github/workflows/docker-release-build.yml @@ -21,7 +21,7 @@ jobs: cache-dependency-path: '**/package-lock.json' - name: 📦 Install Global NPM Packages run: | - sudo npm install typescript node-gyp npm@latest -g + sudo npm install typescript node-gyp -g - name: 📦 Install NPM front packages working-directory: ./front run: | @@ -58,7 +58,7 @@ jobs: sudo apt-get install -y libudev-dev sqlite3 openssl python-is-python3 - name: 📦 Install Global NPM Packages run: | - sudo npm install typescript node-gyp npm@latest -g + sudo npm install typescript node-gyp -g - name: 📦 Install NPM server packages working-directory: ./server run: |