From a0674a36405995e85ad36770ea1b8bd2aec4f681 Mon Sep 17 00:00:00 2001 From: MK Date: Tue, 26 May 2026 16:20:50 +0800 Subject: [PATCH 1/3] ci: test setup-vp PR #72 with sfw enabled Pin setup-vp to the PR #72 commit (f5f2b16) and enable the new `sfw` input to wrap `vp install` with Socket Firewall Free. sfw only activates on Linux; macOS/Windows runners fall back to plain `vp install` with a warning. Refs: https://github.com/voidzero-dev/setup-vp/pull/72 --- .github/workflows/nodejs.yml | 6 ++++-- .github/workflows/pkg.pr.new.yml | 3 ++- .github/workflows/release.yml | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 873fa0e4..7b05eb29 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,11 +18,12 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@v1 + uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 with: node-version: '24' cache: true run-install: true + sfw: true - name: Check run: vp run check @@ -58,11 +59,12 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@v1 + uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 with: node-version: ${{ matrix.node }} cache: true run-install: true + sfw: true - name: Run tests run: vp run ci diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index bfa31c0a..9a343ec3 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -13,11 +13,12 @@ jobs: uses: actions/checkout@v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@v1 + uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 with: node-version: 22 cache: true run-install: true + sfw: true - name: Build run: vp run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 908c6a58..4aafffdc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,12 @@ jobs: uses: actions/checkout@v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@v1 + uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 with: node-version: '22' cache: true run-install: true + sfw: true - name: Verify version matches tag run: | From 18853f3ee1e16bc4f1547dbd7eec2c1fc236dcee Mon Sep 17 00:00:00 2001 From: MK Date: Tue, 26 May 2026 16:56:30 +0800 Subject: [PATCH 2/3] ci: bump setup-vp PR #72 ref to e6024b3 --- .github/workflows/nodejs.yml | 4 ++-- .github/workflows/pkg.pr.new.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7b05eb29..de817be5 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 + uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 with: node-version: '24' cache: true @@ -59,7 +59,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 + uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 with: node-version: ${{ matrix.node }} cache: true diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index 9a343ec3..943bad4b 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 + uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 with: node-version: 22 cache: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4aafffdc..0d2154c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@f5f2b16de3f7b95fa5ce9398c03e7b55bd6a4529 # pr/72 + uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 with: node-version: '22' cache: true From 990bb71342c2e365b7b86229c0e2a472285f05a5 Mon Sep 17 00:00:00 2001 From: MK Date: Tue, 26 May 2026 19:45:19 +0800 Subject: [PATCH 3/3] ci: bump setup-vp PR #72 ref to b6a100f --- .github/workflows/nodejs.yml | 4 ++-- .github/workflows/pkg.pr.new.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index de817be5..d6fc0522 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 + uses: voidzero-dev/setup-vp@b6a100fe28076884691ad8f750d6601635fc1e2a # pr/72 with: node-version: '24' cache: true @@ -59,7 +59,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 + uses: voidzero-dev/setup-vp@b6a100fe28076884691ad8f750d6601635fc1e2a # pr/72 with: node-version: ${{ matrix.node }} cache: true diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index 943bad4b..cad71a7c 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 + uses: voidzero-dev/setup-vp@b6a100fe28076884691ad8f750d6601635fc1e2a # pr/72 with: node-version: 22 cache: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d2154c2..b2bef60c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Vite+ - uses: voidzero-dev/setup-vp@e6024b3b5ea5b627a4af5506224c1bb1da826712 # pr/72 + uses: voidzero-dev/setup-vp@b6a100fe28076884691ad8f750d6601635fc1e2a # pr/72 with: node-version: '22' cache: true