97
97
uses : actions/setup-node@v4
98
98
if : ${{ !matrix.settings.docker }}
99
99
with :
100
- node-version : 16
101
- check-latest : true
100
+ node-version : 18
102
101
cache : ' pnpm'
103
102
architecture : ${{ matrix.settings.architecture }}
104
103
- name : Install Rust
@@ -116,7 +115,7 @@ jobs:
116
115
if : ${{ matrix.settings.setup }}
117
116
shell : bash
118
117
- name : Install dependencies
119
- run : pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
118
+ run : pnpm i --frozen-lockfile --ignore-scripts
120
119
121
120
- name : Build in docker
122
121
uses : addnab/docker-run-action@v3
@@ -175,7 +174,7 @@ jobs:
175
174
# env
176
175
# freebsd-version
177
176
# cd ./tooling/cli/node/
178
- # pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
177
+ # pnpm i --frozen-lockfile --ignore-scripts
179
178
# pnpm build:release
180
179
# strip -x *.node
181
180
# rm -rf node_modules
@@ -199,7 +198,6 @@ jobs:
199
198
- host : windows-latest
200
199
target : x86_64-pc-windows-msvc
201
200
node :
202
- - ' 16'
203
201
- ' 18'
204
202
- ' 20'
205
203
runs-on : ${{ matrix.settings.host }}
@@ -210,10 +208,9 @@ jobs:
210
208
uses : actions/setup-node@v4
211
209
with :
212
210
node-version : ${{ matrix.node }}
213
- check-latest : true
214
211
cache : ' pnpm'
215
212
- name : Install dependencies
216
- run : pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
213
+ run : pnpm i --frozen-lockfile --ignore-scripts
217
214
- name : Download artifacts
218
215
uses : actions/download-artifact@v3
219
216
with :
@@ -232,7 +229,6 @@ jobs:
232
229
fail-fast : false
233
230
matrix :
234
231
node :
235
- - ' 16'
236
232
- ' 18'
237
233
- ' 20'
238
234
runs-on : ubuntu-latest
@@ -243,10 +239,9 @@ jobs:
243
239
uses : actions/setup-node@v4
244
240
with :
245
241
node-version : ${{ matrix.node }}
246
- check-latest : true
247
242
cache : ' pnpm'
248
243
- name : Install dependencies
249
- run : pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
244
+ run : pnpm i --frozen-lockfile --ignore-scripts
250
245
- name : Download artifacts
251
246
uses : actions/download-artifact@v3
252
247
with :
@@ -269,7 +264,6 @@ jobs:
269
264
fail-fast : false
270
265
matrix :
271
266
node :
272
- - ' 16'
273
267
- ' 18'
274
268
- ' 20'
275
269
runs-on : ubuntu-latest
@@ -282,10 +276,9 @@ jobs:
282
276
uses : actions/setup-node@v4
283
277
with :
284
278
node-version : ${{ matrix.node }}
285
- check-latest : true
286
279
cache : ' pnpm'
287
280
- name : Install dependencies
288
- run : pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
281
+ run : pnpm i --frozen-lockfile --ignore-scripts
289
282
- name : Download artifacts
290
283
uses : actions/download-artifact@v3
291
284
with :
@@ -312,7 +305,6 @@ jobs:
312
305
fail-fast : false
313
306
matrix :
314
307
node :
315
- - ' 16'
316
308
- ' 18'
317
309
- ' 20'
318
310
image :
@@ -326,8 +318,6 @@ jobs:
326
318
- name : List packages
327
319
run : ls -R .
328
320
shell : bash
329
- - name : Install dependencies
330
- run : pnpm i --frozen-lockfile --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
331
321
- name : Download aarch64-gnu artifacts
332
322
uses : actions/download-artifact@v3
333
323
with :
@@ -356,7 +346,7 @@ jobs:
356
346
fnm install ${{ matrix.node }}
357
347
fnm use ${{ matrix.node }}
358
348
cd tooling/cli/node
359
- pnpm tauri --help
349
+ node tauri.js --help
360
350
ls -la
361
351
publish :
362
352
name : Publish
@@ -367,17 +357,19 @@ jobs:
367
357
- test-linux-x64-gnu-binding
368
358
- test-linux-x64-musl-binding
369
359
# - test-linux-arm-bindings
360
+ permissions :
361
+ contents : write # update release
362
+ id-token : write # npm provenance
370
363
steps :
371
364
- uses : actions/checkout@v4
372
365
- run : corepack enable
373
366
- name : Setup node
374
367
uses : actions/setup-node@v4
375
368
with :
376
369
node-version : 20
377
- check-latest : true
378
370
cache : ' pnpm'
379
371
- name : Install dependencies
380
- run : pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
372
+ run : pnpm i --frozen-lockfile --ignore-scripts
381
373
- name : Download all artifacts
382
374
uses : actions/download-artifact@v3
383
375
with :
0 commit comments