authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-06-03 19:37:03-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-06-03 19:37:03-07:00
log30d36b8c48d51c4e6727b1f0971a7ac3a3a01cf2
treefec69ac5cb9eb88de8e92ddb1de927a0ed56e327
parente4643eccc7efa07a0129b7ed9765883cfc758c53
signature Signed by PGP key B5690EEEBB952194

ci: let setup-vp install dependencies (#2936)

Co-authored-by: Julius Marminge <julius@mac.lan>

2 files changed, 23 insertions(+), 40 deletions(-)

.github/workflows/ci.yml+3-12
......@@ -20,7 +20,7 @@ jobs:
2020 with:
2121 node-version-file: package.json
2222 cache: true
23 run-install: false
23 run-install: true
2424
2525 - name: Cache Playwright browsers
2626 uses: actions/cache@v5
......@@ -30,9 +30,6 @@ jobs:
3030 restore-keys: |
3131 ${{ runner.os }}-playwright-
3232
33 - name: Install dependencies
34 run: vp install --frozen-lockfile
35
3633 - name: Ensure Electron runtime is installed
3734 run: vp run --filter @t3tools/desktop ensure:electron
3835
......@@ -89,10 +86,7 @@ jobs:
8986 with:
9087 node-version-file: package.json
9188 cache: true
92 run-install: false
93
94 - name: Install dependencies
95 run: vp install --frozen-lockfile
89 run-install: true
9690
9791 - name: Install mobile native static analysis tools
9892 run: brew bundle install --file apps/mobile/Brewfile
......@@ -113,10 +107,7 @@ jobs:
113107 with:
114108 node-version-file: package.json
115109 cache: true
116 run-install: false
117
118 - name: Install dependencies
119 run: vp install --frozen-lockfile
110 run-install: true
120111
121112 - name: Exercise release-only workflow steps
122113 run: node scripts/release-smoke.ts
.github/workflows/release.yml+20-28
......@@ -90,10 +90,7 @@ jobs:
9090 with:
9191 node-version-file: package.json
9292 cache: true
93 run-install: false
94
95 - name: Install dependencies
96 run: vp install --frozen-lockfile
93 run-install: true
9794
9895 - name: Ensure Electron runtime is installed
9996 run: vp run --filter @t3tools/desktop ensure:electron
......@@ -216,10 +213,7 @@ jobs:
216213 with:
217214 node-version-file: package.json
218215 cache: true
219 run-install: false
220
221 - name: Install dependencies
222 run: vp install --frozen-lockfile
216 run-install: true
223217
224218 - name: Align package versions to release version
225219 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
......@@ -446,16 +440,17 @@ jobs:
446440 with:
447441 node-version-file: package.json
448442 cache: true
449 run-install: false
443 run-install: |
444 args:
445 - --filter=t3
446 - --filter=@t3tools/web
447 - --filter=@t3tools/scripts
450448
451449 - name: Setup Node
452450 uses: actions/setup-node@v6
453451 with:
454452 registry-url: https://registry.npmjs.org
455453
456 - name: Install dependencies
457 run: vp install --frozen-lockfile --filter=t3 --filter=@t3tools/web --filter=@t3tools/scripts
458
459454 - name: Align package versions to release version
460455 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
461456
......@@ -493,10 +488,9 @@ jobs:
493488 with:
494489 node-version-file: package.json
495490 cache: true
496 run-install: false
497
498 - name: Install dependencies
499 run: vp install --frozen-lockfile --filter=@t3tools/scripts
491 run-install: |
492 args:
493 - --filter=@t3tools/scripts
500494
501495 - name: Download all desktop artifacts
502496 uses: actions/download-artifact@v8
......@@ -611,10 +605,10 @@ jobs:
611605 with:
612606 node-version-file: package.json
613607 cache: true
614 run-install: false
615
616 - name: Install release tooling dependencies
617 run: vp install --frozen-lockfile --filter=@t3tools/scripts --filter=@t3tools/web
608 run-install: |
609 args:
610 - --filter=@t3tools/scripts
611 - --filter=@t3tools/web
618612
619613 - name: Align package versions to release version
620614 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
......@@ -713,10 +707,9 @@ jobs:
713707 with:
714708 node-version-file: package.json
715709 cache: true
716 run-install: false
717
718 - name: Install dependencies
719 run: vp install --frozen-lockfile --filter=@t3tools/scripts
710 run-install: |
711 args:
712 - --filter=@t3tools/scripts
720713
721714 - id: update_versions
722715 name: Update version strings
......@@ -772,10 +765,9 @@ jobs:
772765 with:
773766 node-version-file: package.json
774767 cache: true
775 run-install: false
776
777 - name: Install dependencies
778 run: vp install --frozen-lockfile --filter=@t3tools/scripts
768 run-install: |
769 args:
770 - --filter=@t3tools/scripts
779771
780772 - name: Announce prerelease on Discord
781773 if: needs.preflight.outputs.is_prerelease == 'true'