diff options
author | 2021-07-26 04:04:27 +0000 | |
---|---|---|
committer | 2021-07-26 09:34:27 +0530 | |
commit | 2993efc83e7f557a9c36e7915a54c62c5f90296e (patch) | |
tree | 4eab395bfdd230cccf53bf6ec376df8a6114c104 /.github/workflows/ferdi-builds.yml | |
parent | Updated CHANGELOG.md with old change logs (diff) | |
download | ferdium-app-2993efc83e7f557a9c36e7915a54c62c5f90296e.tar.gz ferdium-app-2993efc83e7f557a9c36e7915a54c62c5f90296e.tar.zst ferdium-app-2993efc83e7f557a9c36e7915a54c62c5f90296e.zip |
Use node-gyp@8.1 for all CI builds (and brings windows at par with macos and linux) (#1690)
Upgraded node-gyp to '8.1.0' (since this was a pre-requisite for it to work on windows os)
Diffstat (limited to '.github/workflows/ferdi-builds.yml')
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 6c45e65b5..3e53d4e71 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -129,7 +129,7 @@ jobs: | |||
129 | - name: Uninstall locally and reinstall node-gyp globally | 129 | - name: Uninstall locally and reinstall node-gyp globally |
130 | run: | | 130 | run: | |
131 | npm uninstall node-gyp | 131 | npm uninstall node-gyp |
132 | npm i -g node-gyp@8.0.0 && npm config set node_gyp "$(which node-gyp)" | 132 | npm i -g node-gyp@8.1.0 |
133 | - name: Fix corrupted node cache | 133 | - name: Fix corrupted node cache |
134 | run: npm cache clean --force | 134 | run: npm cache clean --force |
135 | - name: Install node dependencies recursively | 135 | - name: Install node dependencies recursively |
@@ -222,7 +222,7 @@ jobs: | |||
222 | - name: Uninstall locally and reinstall node-gyp globally | 222 | - name: Uninstall locally and reinstall node-gyp globally |
223 | run: | | 223 | run: | |
224 | npm uninstall node-gyp | 224 | npm uninstall node-gyp |
225 | npm i -g node-gyp@8.0.0 && npm config set node_gyp "$(which node-gyp)" | 225 | npm i -g node-gyp@8.1.0 |
226 | - name: Fix corrupted node cache | 226 | - name: Fix corrupted node cache |
227 | run: npm cache clean --force | 227 | run: npm cache clean --force |
228 | - name: Install node dependencies recursively | 228 | - name: Install node dependencies recursively |
@@ -308,6 +308,11 @@ jobs: | |||
308 | uses: actions/setup-node@v2 | 308 | uses: actions/setup-node@v2 |
309 | with: | 309 | with: |
310 | node-version: 14.17.3 | 310 | node-version: 14.17.3 |
311 | - name: Uninstall locally and reinstall node-gyp globally | ||
312 | run: | | ||
313 | npm uninstall node-gyp | ||
314 | npm i -g node-gyp@8.1.0 | ||
315 | shell: bash | ||
311 | - name: Fix corrupted node cache | 316 | - name: Fix corrupted node cache |
312 | run: npm cache clean --force | 317 | run: npm cache clean --force |
313 | shell: bash | 318 | shell: bash |