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:...@@ -20,7 +20,7 @@ jobs:
20 with:20 with:
21 node-version-file: package.json21 node-version-file: package.json
22 cache: true22 cache: true
23 run-install: false23 run-install: true
2424
25 - name: Cache Playwright browsers25 - name: Cache Playwright browsers
26 uses: actions/cache@v526 uses: actions/cache@v5
...@@ -30,9 +30,6 @@ jobs:...@@ -30,9 +30,6 @@ jobs:
30 restore-keys: |30 restore-keys: |
31 ${{ runner.os }}-playwright-31 ${{ runner.os }}-playwright-
3232
33 - name: Install dependencies
34 run: vp install --frozen-lockfile
35
36 - name: Ensure Electron runtime is installed33 - name: Ensure Electron runtime is installed
37 run: vp run --filter @t3tools/desktop ensure:electron34 run: vp run --filter @t3tools/desktop ensure:electron
3835
...@@ -89,10 +86,7 @@ jobs:...@@ -89,10 +86,7 @@ jobs:
89 with:86 with:
90 node-version-file: package.json87 node-version-file: package.json
91 cache: true88 cache: true
92 run-install: false89 run-install: true
93
94 - name: Install dependencies
95 run: vp install --frozen-lockfile
9690
97 - name: Install mobile native static analysis tools91 - name: Install mobile native static analysis tools
98 run: brew bundle install --file apps/mobile/Brewfile92 run: brew bundle install --file apps/mobile/Brewfile
...@@ -113,10 +107,7 @@ jobs:...@@ -113,10 +107,7 @@ jobs:
113 with:107 with:
114 node-version-file: package.json108 node-version-file: package.json
115 cache: true109 cache: true
116 run-install: false110 run-install: true
117
118 - name: Install dependencies
119 run: vp install --frozen-lockfile
120111
121 - name: Exercise release-only workflow steps112 - name: Exercise release-only workflow steps
122 run: node scripts/release-smoke.ts113 run: node scripts/release-smoke.ts
.github/workflows/release.yml+20-28
...@@ -90,10 +90,7 @@ jobs:...@@ -90,10 +90,7 @@ jobs:
90 with:90 with:
91 node-version-file: package.json91 node-version-file: package.json
92 cache: true92 cache: true
93 run-install: false93 run-install: true
94
95 - name: Install dependencies
96 run: vp install --frozen-lockfile
9794
98 - name: Ensure Electron runtime is installed95 - name: Ensure Electron runtime is installed
99 run: vp run --filter @t3tools/desktop ensure:electron96 run: vp run --filter @t3tools/desktop ensure:electron
...@@ -216,10 +213,7 @@ jobs:...@@ -216,10 +213,7 @@ jobs:
216 with:213 with:
217 node-version-file: package.json214 node-version-file: package.json
218 cache: true215 cache: true
219 run-install: false216 run-install: true
220
221 - name: Install dependencies
222 run: vp install --frozen-lockfile
223217
224 - name: Align package versions to release version218 - name: Align package versions to release version
225 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"219 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
...@@ -446,16 +440,17 @@ jobs:...@@ -446,16 +440,17 @@ jobs:
446 with:440 with:
447 node-version-file: package.json441 node-version-file: package.json
448 cache: true442 cache: true
449 run-install: false443 run-install: |
444 args:
445 - --filter=t3
446 - --filter=@t3tools/web
447 - --filter=@t3tools/scripts
450448
451 - name: Setup Node449 - name: Setup Node
452 uses: actions/setup-node@v6450 uses: actions/setup-node@v6
453 with:451 with:
454 registry-url: https://registry.npmjs.org452 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
459 - name: Align package versions to release version454 - name: Align package versions to release version
460 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"455 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
461456
...@@ -493,10 +488,9 @@ jobs:...@@ -493,10 +488,9 @@ jobs:
493 with:488 with:
494 node-version-file: package.json489 node-version-file: package.json
495 cache: true490 cache: true
496 run-install: false491 run-install: |
497492 args:
498 - name: Install dependencies493 - --filter=@t3tools/scripts
499 run: vp install --frozen-lockfile --filter=@t3tools/scripts
500494
501 - name: Download all desktop artifacts495 - name: Download all desktop artifacts
502 uses: actions/download-artifact@v8496 uses: actions/download-artifact@v8
...@@ -611,10 +605,10 @@ jobs:...@@ -611,10 +605,10 @@ jobs:
611 with:605 with:
612 node-version-file: package.json606 node-version-file: package.json
613 cache: true607 cache: true
614 run-install: false608 run-install: |
615609 args:
616 - name: Install release tooling dependencies610 - --filter=@t3tools/scripts
617 run: vp install --frozen-lockfile --filter=@t3tools/scripts --filter=@t3tools/web611 - --filter=@t3tools/web
618612
619 - name: Align package versions to release version613 - name: Align package versions to release version
620 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"614 run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
...@@ -713,10 +707,9 @@ jobs:...@@ -713,10 +707,9 @@ jobs:
713 with:707 with:
714 node-version-file: package.json708 node-version-file: package.json
715 cache: true709 cache: true
716 run-install: false710 run-install: |
717711 args:
718 - name: Install dependencies712 - --filter=@t3tools/scripts
719 run: vp install --frozen-lockfile --filter=@t3tools/scripts
720713
721 - id: update_versions714 - id: update_versions
722 name: Update version strings715 name: Update version strings
...@@ -772,10 +765,9 @@ jobs:...@@ -772,10 +765,9 @@ jobs:
772 with:765 with:
773 node-version-file: package.json766 node-version-file: package.json
774 cache: true767 cache: true
775 run-install: false768 run-install: |
776769 args:
777 - name: Install dependencies770 - --filter=@t3tools/scripts
778 run: vp install --frozen-lockfile --filter=@t3tools/scripts
779771
780 - name: Announce prerelease on Discord772 - name: Announce prerelease on Discord
781 if: needs.preflight.outputs.is_prerelease == 'true'773 if: needs.preflight.outputs.is_prerelease == 'true'