aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ferdi-builds.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ferdi-builds.yml')
-rw-r--r--.github/workflows/ferdi-builds.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml
index b2d6f9b3f..b5aaf13b8 100644
--- a/.github/workflows/ferdi-builds.yml
+++ b/.github/workflows/ferdi-builds.yml
@@ -138,10 +138,11 @@ jobs:
138 run: | 138 run: |
139 sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* 139 sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
140 sudo xcode-select -s "/Applications/Xcode_12.4.app" 140 sudo xcode-select -s "/Applications/Xcode_12.4.app"
141 - name: Uninstall locally and reinstall node-gyp globally 141 - name: Uninstall locally and reinstall global npm modules
142 run: | 142 run: |
143 npm uninstall node-gyp 143 npm uninstall node-gyp
144 npm i -g node-gyp@8.1.0 144 npm ls -g node-gyp@8.1.0 || npm i -g node-gyp@8.1.0
145 npm ls -g lerna@4.0.0 || npm i -g lerna@4.0.0
145 - name: Fix corrupted node cache 146 - name: Fix corrupted node cache
146 run: npm cache clean --force 147 run: npm cache clean --force
147 - name: Install node dependencies recursively 148 - name: Install node dependencies recursively
@@ -231,10 +232,11 @@ jobs:
231 uses: actions/setup-node@v2 232 uses: actions/setup-node@v2
232 with: 233 with:
233 node-version: 14.17.3 234 node-version: 14.17.3
234 - name: Uninstall locally and reinstall node-gyp globally 235 - name: Uninstall locally and reinstall global npm modules
235 run: | 236 run: |
236 npm uninstall node-gyp 237 npm uninstall node-gyp
237 npm i -g node-gyp@8.1.0 238 npm ls -g node-gyp@8.1.0 || npm i -g node-gyp@8.1.0
239 npm ls -g lerna@4.0.0 || npm i -g lerna@4.0.0
238 - name: Fix corrupted node cache 240 - name: Fix corrupted node cache
239 run: npm cache clean --force 241 run: npm cache clean --force
240 - name: Install node dependencies recursively 242 - name: Install node dependencies recursively
@@ -320,10 +322,11 @@ jobs:
320 uses: actions/setup-node@v2 322 uses: actions/setup-node@v2
321 with: 323 with:
322 node-version: 14.17.3 324 node-version: 14.17.3
323 - name: Uninstall locally and reinstall node-gyp globally 325 - name: Uninstall locally and reinstall global npm modules
324 run: | 326 run: |
325 npm uninstall node-gyp 327 npm uninstall node-gyp
326 npm i -g node-gyp@8.1.0 328 npm ls -g node-gyp@8.1.0 || npm i -g node-gyp@8.1.0
329 npm ls -g lerna@4.0.0 || npm i -g lerna@4.0.0
327 shell: bash 330 shell: bash
328 - name: Fix corrupted node cache 331 - name: Fix corrupted node cache
329 run: npm cache clean --force 332 run: npm cache clean --force