From 2b2a47ce9dae9296faea8075d8601e61d72fa5e4 Mon Sep 17 00:00:00 2001 From: MK Date: Thu, 19 Mar 2026 14:47:07 +0800 Subject: [PATCH 1/7] ci: use voidzero-dev/setup-vp instead of setup-node + pnpm/action-setup Replace the two-step setup pattern (actions/setup-node + pnpm/action-setup + pnpm install) with the unified voidzero-dev/setup-vp action across all CI workflows. This simplifies setup to a single step with node-version, cache, and automatic dependency installation via vp. - Replace all pnpm vp commands with vp directly - Build storybook via vp before passing to chromatic action --- .github/workflows/autofix.yml | 17 ++---- .github/workflows/ci.yml | 96 +++++++++---------------------- .github/workflows/lunaria.yml | 9 +-- .github/workflows/release-pr.yml | 3 +- .github/workflows/release-tag.yml | 24 ++------ 5 files changed, 43 insertions(+), 106 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 8c62cd4eaa..49d3d19aae 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -20,26 +20,21 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: ๐ŸŽจ Check for non-RTL/non-a11y CSS classes - run: pnpm vp run lint:css + run: vp run lint:css - name: ๐ŸŒ Compare translations - run: pnpm vp run i18n:check + run: vp run i18n:check - name: ๐ŸŒ Update lunaria data - run: pnpm vp run build:lunaria + run: vp run build:lunaria - name: ๐Ÿ”  Fix lint errors - run: pnpm vp run lint:fix + run: vp run lint:fix - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23963aed01..efb1be2290 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,18 +28,13 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) - run: pnpm install --filter . --ignore-scripts + cache: true - name: ๐Ÿ”  Lint project - run: pnpm vp run lint + run: vp run lint types: name: ๐Ÿ’ช Type check @@ -48,18 +43,13 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: ๐Ÿ’ช Type check - run: pnpm vp run test:types + run: vp run test:types unit: name: ๐Ÿงช Unit tests @@ -68,18 +58,13 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: ๐Ÿงช Unit tests - run: pnpm vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml + run: vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml - name: โฌ†๏ธŽ Upload test results to Codecov if: ${{ !cancelled() }} @@ -94,21 +79,16 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: ๐ŸŒ Install browser - run: pnpm vp exec playwright install chromium-headless-shell + run: vp exec playwright install chromium-headless-shell - name: ๐Ÿงช Component tests - run: pnpm vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml + run: vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml - name: โฌ†๏ธŽ Upload coverage reports to Codecov uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5 @@ -131,23 +111,18 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: ๐Ÿ—๏ธ Build project - run: pnpm vp run build:test + run: vp run build:test env: VALIDATE_HTML: true - name: ๐Ÿ–ฅ๏ธ Test project (browser) - run: pnpm vp run test:browser:prebuilt + run: vp run test:browser:prebuilt a11y: name: โ™ฟ Accessibility audit @@ -159,21 +134,16 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: ๐Ÿ—๏ธ Build project - run: pnpm vp run build:test + run: vp run build:test - name: โ™ฟ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode) - run: pnpm vp run test:a11y:prebuilt + run: vp run test:a11y:prebuilt env: LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} LIGHTHOUSE_COLOR_MODE: ${{ matrix.mode }} @@ -185,18 +155,13 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: ๐Ÿงน Check for unused code - run: pnpm vp run knip + run: vp run knip i18n: name: ๐ŸŒ i18n validation @@ -205,20 +170,15 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) - run: pnpm install --filter . --ignore-scripts + cache: true - name: ๐ŸŒ Check for missing or dynamic i18n keys - run: pnpm vp run i18n:report + run: vp run i18n:report - name: ๐ŸŒ Check i18n schema is up to date run: | - pnpm vp run i18n:schema + vp run i18n:schema git diff --exit-code i18n/schema.json diff --git a/.github/workflows/lunaria.yml b/.github/workflows/lunaria.yml index b2bc818360..08c9cf9ca3 100644 --- a/.github/workflows/lunaria.yml +++ b/.github/workflows/lunaria.yml @@ -28,15 +28,10 @@ jobs: # Makes the action clone the entire git history fetch-depth: 0 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install + cache: true - name: Generate Lunaria Overview uses: lunariajs/action@4911ad0736d1e3b20af4cb70f5079aea2327ed8e # v1-prerelease diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index fc244db18e..2996992f91 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -20,9 +20,10 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* + cache: true - name: ๐Ÿ” Check for unreleased commits id: check diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 331540e6d9..ec07d19228 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -23,9 +23,10 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* + cache: true - name: ๐Ÿ”ข Determine next version id: version @@ -58,14 +59,6 @@ jobs: git tag -a "$VERSION" -m "Release $VERSION" git push origin "$VERSION" - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - if: steps.check.outputs.skip == 'false' - name: ๐ŸŸง Install pnpm - - - name: ๐Ÿ“ฆ Install dependencies - if: steps.check.outputs.skip == 'false' - run: pnpm vp install --filter . --ignore-scripts - - name: ๐Ÿ“ Generate release notes if: steps.check.outputs.skip == 'false' env: @@ -98,19 +91,12 @@ jobs: with: ref: release - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 + - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* + cache: true registry-url: https://registry.npmjs.org - - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c - name: ๐ŸŸง Install pnpm - with: - cache: false - - - name: ๐Ÿ“ฆ Install dependencies - run: pnpm install --filter npmx-connector... - - name: ๐Ÿ”ข Set connector version env: VERSION: ${{ needs.tag.outputs.version }} @@ -122,7 +108,7 @@ jobs: echo "Publishing npmx-connector@${PKG_VERSION}" - name: ๐Ÿ—๏ธ Build connector - run: pnpm --filter npmx-connector build + run: vp run --filter npmx-connector build - name: ๐Ÿ“ค Publish to npm with provenance # Uses OIDC trusted publishing โ€” no NPM_TOKEN needed. From 9527d2f22320a8763771b678045bfcaca1a75224 Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 20 Mar 2026 16:23:07 +0800 Subject: [PATCH 2/7] ci: skip postinstall in check-only jobs with setup-vp Add run-install: false and manual vp install --filter . --ignore-scripts for lint, i18n, and tag jobs to match original behavior and avoid running heavy postinstall tasks (generate:lexicons, generate:sprite, nuxt prepare) in jobs that don't need them. --- .github/workflows/ci.yml | 8 ++++++++ .github/workflows/release-tag.yml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efb1be2290..adf8e44d31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,10 @@ jobs: with: node-version: lts/* cache: true + run-install: false + + - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) + run: vp install --filter . --ignore-scripts - name: ๐Ÿ”  Lint project run: vp run lint @@ -174,6 +178,10 @@ jobs: with: node-version: lts/* cache: true + run-install: false + + - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) + run: vp install --filter . --ignore-scripts - name: ๐ŸŒ Check for missing or dynamic i18n keys run: vp run i18n:report diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index ec07d19228..c7607cb922 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -27,6 +27,10 @@ jobs: with: node-version: lts/* cache: true + run-install: false + + - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) + run: vp install --filter . --ignore-scripts - name: ๐Ÿ”ข Determine next version id: version From 332e7473a2de78c81f1a28e94be0f549bd077bcf Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 20 Mar 2026 16:25:59 +0800 Subject: [PATCH 3/7] ci: disable cache for check-only jobs with partial install Cache is unnecessary when only installing root deps with --ignore-scripts. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release-tag.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adf8e44d31..6ef6b296a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - cache: true + cache: false run-install: false - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) @@ -177,7 +177,7 @@ jobs: - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - cache: true + cache: false run-install: false - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index c7607cb922..a4954e6061 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -26,7 +26,7 @@ jobs: - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - cache: true + cache: false run-install: false - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) From 25eec2f54246a896c1ab16ebe6c501028f237b2d Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 20 Mar 2026 16:26:27 +0800 Subject: [PATCH 4/7] ci: remove unnecessary cache option from check-only jobs --- .github/workflows/ci.yml | 2 -- .github/workflows/release-tag.yml | 1 - 2 files changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ef6b296a8..6689ba6f0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,6 @@ jobs: - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - cache: false run-install: false - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) @@ -177,7 +176,6 @@ jobs: - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - cache: false run-install: false - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index a4954e6061..5083e6c25f 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -26,7 +26,6 @@ jobs: - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 with: node-version: lts/* - cache: false run-install: false - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) From f87c32df9973599368b89bf68e4b13feab5cc3cd Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 20 Mar 2026 16:27:22 +0800 Subject: [PATCH 5/7] ci: update setup-vp to latest commit 73e69397 --- .github/workflows/autofix.yml | 2 +- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/lunaria.yml | 2 +- .github/workflows/release-pr.yml | 2 +- .github/workflows/release-tag.yml | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 49d3d19aae..f2e5180bc6 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6689ba6f0e..84449a7df3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* run-install: false @@ -46,7 +46,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true @@ -61,7 +61,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true @@ -82,7 +82,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true @@ -114,7 +114,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true @@ -137,7 +137,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true @@ -158,7 +158,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true @@ -173,7 +173,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* run-install: false diff --git a/.github/workflows/lunaria.yml b/.github/workflows/lunaria.yml index 08c9cf9ca3..5755c01952 100644 --- a/.github/workflows/lunaria.yml +++ b/.github/workflows/lunaria.yml @@ -28,7 +28,7 @@ jobs: # Makes the action clone the entire git history fetch-depth: 0 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 2996992f91..a159e10a40 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -20,7 +20,7 @@ jobs: with: fetch-depth: 0 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 5083e6c25f..0b8f3b1fba 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -23,7 +23,7 @@ jobs: with: fetch-depth: 0 - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* run-install: false @@ -94,7 +94,7 @@ jobs: with: ref: release - - uses: voidzero-dev/setup-vp@af9f92ccd3e5694c919913c47be133a1847ea58e # v1 + - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* cache: true From dea629f943c419bf3646c957dbcd3dbb7c811eb2 Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 20 Mar 2026 16:37:22 +0800 Subject: [PATCH 6/7] Fixup --- .github/workflows/release-tag.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 0b8f3b1fba..9a1cbeeaf5 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -28,9 +28,6 @@ jobs: node-version: lts/* run-install: false - - name: ๐Ÿ“ฆ Install dependencies (root only, no scripts) - run: vp install --filter . --ignore-scripts - - name: ๐Ÿ”ข Determine next version id: version run: | @@ -62,6 +59,10 @@ jobs: git tag -a "$VERSION" -m "Release $VERSION" git push origin "$VERSION" + - name: ๐Ÿ“ฆ Install dependencies + if: steps.check.outputs.skip == 'false' + run: vp install --filter . --ignore-scripts + - name: ๐Ÿ“ Generate release notes if: steps.check.outputs.skip == 'false' env: @@ -97,8 +98,11 @@ jobs: - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* - cache: true registry-url: https://registry.npmjs.org + run-install: false + + - name: ๐Ÿ“ฆ Install dependencies + run: vp install --filter npmx-connector... - name: ๐Ÿ”ข Set connector version env: From 49f641194bc6816cdb5372046308011f1567f4ed Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 20 Mar 2026 16:41:06 +0800 Subject: [PATCH 7/7] Fixup --- .github/workflows/release-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index a159e10a40..ac5d2e81e4 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -23,7 +23,7 @@ jobs: - uses: voidzero-dev/setup-vp@73e69397a8b289de4b1d017ced18e18004183bb1 # v1 with: node-version: lts/* - cache: true + run-install: false - name: ๐Ÿ” Check for unreleased commits id: check