aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ferdi-builds.yml
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-18 07:33:47 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-18 07:33:47 +0530
commit3e28975d32315444c4c535fda7ba2aa08a3a0bc2 (patch)
treeef7f7d9083b1d437b2cf68005cd6b831f526729c /.github/workflows/ferdi-builds.yml
parentBumped up version to: 5.6.3-beta.1 [skip ci] (diff)
parent5.6.3-nightly.37 [skip ci] (diff)
downloadferdium-app-3e28975d32315444c4c535fda7ba2aa08a3a0bc2.tar.gz
ferdium-app-3e28975d32315444c4c535fda7ba2aa08a3a0bc2.tar.zst
ferdium-app-3e28975d32315444c4c535fda7ba2aa08a3a0bc2.zip
Merge branch 'nightly' into release
Diffstat (limited to '.github/workflows/ferdi-builds.yml')
-rw-r--r--.github/workflows/ferdi-builds.yml63
1 files changed, 30 insertions, 33 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml
index 062243659..bbd001a0a 100644
--- a/.github/workflows/ferdi-builds.yml
+++ b/.github/workflows/ferdi-builds.yml
@@ -120,17 +120,17 @@ jobs:
120 cache-name: cache-node-modules 120 cache-name: cache-node-modules
121 with: 121 with:
122 path: ${{ env.NPM_CACHE }} 122 path: ${{ env.NPM_CACHE }}
123 key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} 123 key: ${{ runner.os }}-14.18-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
124 restore-keys: | 124 restore-keys: |
125 ${{ runner.os }}-14.17-build-${{ env.cache-name }}- 125 ${{ runner.os }}-14.18-build-${{ env.cache-name }}-
126 ${{ runner.os }}-14.17-build- 126 ${{ runner.os }}-14.18-build-
127 - name: Cache pnpm modules 127 - name: Cache pnpm modules
128 uses: actions/cache@v2 128 uses: actions/cache@v2
129 env: 129 env:
130 cache-name: cache-pnpm-store 130 cache-name: cache-pnpm-store
131 with: 131 with:
132 path: ${{ env.PNPM_CACHE }} 132 path: ${{ env.PNPM_CACHE }}
133 key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} 133 key: ${{ runner.os }}-14.18-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
134 - name: Cache electron modules 134 - name: Cache electron modules
135 uses: actions/cache@v2 135 uses: actions/cache@v2
136 env: 136 env:
@@ -145,21 +145,20 @@ jobs:
145 with: 145 with:
146 key: ${{ runner.os }}-${{ env.cache-name }} 146 key: ${{ runner.os }}-${{ env.cache-name }}
147 path: ${{ env.ELECTRON_BUILDER_CACHE }} 147 path: ${{ env.ELECTRON_BUILDER_CACHE }}
148 - name: Use Node.js 14.17.6 148 - name: Use Node.js 14.18.1
149 uses: actions/setup-node@v2 149 uses: actions/setup-node@v2
150 with: 150 with:
151 node-version: 14.17.6 151 node-version: 14.18.1
152 - name: Install pnpm 152 - name: Install pnpm
153 uses: pnpm/action-setup@v2.0.1 153 uses: pnpm/action-setup@v2.0.1
154 with: 154 with:
155 version: 6.16.0 155 version: 6.17.1
156 - name: Uninstall locally and reinstall global npm modules 156 - name: Uninstall locally and reinstall global npm modules
157 run: | 157 run: |
158 npm uninstall node-gyp 158 npm uninstall node-gyp
159 npm ls -g node-gyp@8.1.0 || npm i -g node-gyp@8.1.0 159 npm ls -g node-gyp@8.2.0 || npm i -g node-gyp@8.2.0
160 npm ls -g lerna@4.0.0 || npm i -g lerna@4.0.0 160 - name: Install node dependencies
161 - name: Install node dependencies recursively 161 run: npm i
162 run: npx lerna bootstrap
163 - name: Package recipes 162 - name: Package recipes
164 run: pnpm i && pnpm run package 163 run: pnpm i && pnpm run package
165 working-directory: ./recipes 164 working-directory: ./recipes
@@ -224,17 +223,17 @@ jobs:
224 cache-name: cache-node-modules 223 cache-name: cache-node-modules
225 with: 224 with:
226 path: ${{ env.NPM_CACHE }} 225 path: ${{ env.NPM_CACHE }}
227 key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} 226 key: ${{ runner.os }}-14.18-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
228 restore-keys: | 227 restore-keys: |
229 ${{ runner.os }}-14.17-build-${{ env.cache-name }}- 228 ${{ runner.os }}-14.18-build-${{ env.cache-name }}-
230 ${{ runner.os }}-14.17-build- 229 ${{ runner.os }}-14.18-build-
231 - name: Cache pnpm modules 230 - name: Cache pnpm modules
232 uses: actions/cache@v2 231 uses: actions/cache@v2
233 env: 232 env:
234 cache-name: cache-pnpm-store 233 cache-name: cache-pnpm-store
235 with: 234 with:
236 path: ${{ env.PNPM_CACHE }} 235 path: ${{ env.PNPM_CACHE }}
237 key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} 236 key: ${{ runner.os }}-14.18-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
238 - name: Cache electron modules 237 - name: Cache electron modules
239 uses: actions/cache@v2 238 uses: actions/cache@v2
240 env: 239 env:
@@ -249,21 +248,20 @@ jobs:
249 with: 248 with:
250 key: ${{ runner.os }}-${{ env.cache-name }} 249 key: ${{ runner.os }}-${{ env.cache-name }}
251 path: ${{ env.ELECTRON_BUILDER_CACHE }} 250 path: ${{ env.ELECTRON_BUILDER_CACHE }}
252 - name: Use Node.js 14.17.6 251 - name: Use Node.js 14.18.1
253 uses: actions/setup-node@v2 252 uses: actions/setup-node@v2
254 with: 253 with:
255 node-version: 14.17.6 254 node-version: 14.18.1
256 - name: Install pnpm 255 - name: Install pnpm
257 uses: pnpm/action-setup@v2.0.1 256 uses: pnpm/action-setup@v2.0.1
258 with: 257 with:
259 version: 6.16.0 258 version: 6.17.1
260 - name: Uninstall locally and reinstall global npm modules 259 - name: Uninstall locally and reinstall global npm modules
261 run: | 260 run: |
262 npm uninstall node-gyp 261 npm uninstall node-gyp
263 npm ls -g node-gyp@8.1.0 || npm i -g node-gyp@8.1.0 262 npm ls -g node-gyp@8.2.0 || npm i -g node-gyp@8.2.0
264 npm ls -g lerna@4.0.0 || npm i -g lerna@4.0.0 263 - name: Install node dependencies
265 - name: Install node dependencies recursively 264 run: npm i
266 run: npx lerna bootstrap
267 - name: Figure out used package.json version 265 - name: Figure out used package.json version
268 run: echo "PACKAGE_VERSION=$(node -p 'require("./package.json").version')" >> $GITHUB_ENV 266 run: echo "PACKAGE_VERSION=$(node -p 'require("./package.json").version')" >> $GITHUB_ENV
269 shell: bash 267 shell: bash
@@ -349,17 +347,17 @@ jobs:
349 cache-name: cache-node-modules 347 cache-name: cache-node-modules
350 with: 348 with:
351 path: ${{ env.NPM_CACHE }} 349 path: ${{ env.NPM_CACHE }}
352 key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} 350 key: ${{ runner.os }}-14.18-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
353 restore-keys: | 351 restore-keys: |
354 ${{ runner.os }}-14.17-build-${{ env.cache-name }}- 352 ${{ runner.os }}-14.18-build-${{ env.cache-name }}-
355 ${{ runner.os }}-14.17-build- 353 ${{ runner.os }}-14.18-build-
356 - name: Cache pnpm modules 354 - name: Cache pnpm modules
357 uses: actions/cache@v2 355 uses: actions/cache@v2
358 env: 356 env:
359 cache-name: cache-pnpm-store 357 cache-name: cache-pnpm-store
360 with: 358 with:
361 path: ${{ env.PNPM_CACHE }} 359 path: ${{ env.PNPM_CACHE }}
362 key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} 360 key: ${{ runner.os }}-14.18-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
363 - name: Cache electron modules 361 - name: Cache electron modules
364 uses: actions/cache@v2 362 uses: actions/cache@v2
365 env: 363 env:
@@ -374,22 +372,21 @@ jobs:
374 with: 372 with:
375 key: ${{ runner.os }}-${{ env.cache-name }} 373 key: ${{ runner.os }}-${{ env.cache-name }}
376 path: ${{ env.ELECTRON_BUILDER_CACHE }} 374 path: ${{ env.ELECTRON_BUILDER_CACHE }}
377 - name: Use Node.js 14.17.6 375 - name: Use Node.js 14.18.1
378 uses: actions/setup-node@v2 376 uses: actions/setup-node@v2
379 with: 377 with:
380 node-version: 14.17.6 378 node-version: 14.18.1
381 - name: Install pnpm 379 - name: Install pnpm
382 uses: pnpm/action-setup@v2.0.1 380 uses: pnpm/action-setup@v2.0.1
383 with: 381 with:
384 version: 6.16.0 382 version: 6.17.1
385 - name: Uninstall locally and reinstall global npm modules 383 - name: Uninstall locally and reinstall global npm modules
386 run: | 384 run: |
387 npm uninstall node-gyp 385 npm uninstall node-gyp
388 npm ls -g node-gyp@8.1.0 || npm i -g node-gyp@8.1.0 386 npm ls -g node-gyp@8.2.0 || npm i -g node-gyp@8.2.0
389 npm ls -g lerna@4.0.0 || npm i -g lerna@4.0.0
390 shell: bash 387 shell: bash
391 - name: Install node dependencies recursively 388 - name: Install node dependencies
392 run: npx lerna bootstrap 389 run: npm i
393 shell: bash 390 shell: bash
394 - name: Package recipes 391 - name: Package recipes
395 run: pnpm i && pnpm run package 392 run: pnpm i && pnpm run package