Migrate or align frontend repositories to the stock VitePlus workflow. Use when standardizing package or monorepo repos around `vp`, `voidzero-dev/setup-vp`, `vite-plus/test`, and VitePlus-native CI, test, and packaging flows, including updating scripts, test config, CI setup, and packaging commands.
98
100%
Does it follow best practices?
Impact
97%
1.73xAverage score across 6 eval scenarios
Advisory
Suggest reviewing before use
Use this reference before changing GitHub Actions or release automation.
Prefer the documented VitePlus setup:
- uses: voidzero-dev/setup-vp@v1
with:
node-version-file: ".node-version"
cache: true
- run: vp install
- run: vp check
- run: vp test
- run: vp buildvoidzero-dev/setup-vp@v1 exposes:
| Input | Purpose |
|---|---|
version | Pin a specific Vite+ release. Defaults to latest; pin when CI must stay aligned with a chosen release. |
node-version | Node.js version to install via vp env use. |
node-version-file | Read the Node.js version from a file (.node-version, .nvmrc, etc.). |
working-directory | Project root for path resolution and lockfile detection. |
run-install | Run vp install after setup. Boolean or YAML config. |
cache | Cache project dependencies. Auto-detects pnpm/npm/yarn/bun lockfiles. |
cache-dependency-path | Override the lockfile path used for cache key generation. |
registry-url / scope | Configure scoped npm registry authentication. |
voidzero-dev/setup-vp@v1 over hand-rolled Node/Corepack bootstrapping unless the repo has a proven exception.setup-vp's built-in Node and package-manager bootstrap over adding separate CI-time vp env setup steps unless the repo has a specific environment need the action does not cover.vp install over separate package-manager bootstrap logic when VitePlus is the tool owner. The action's run-install: true input collapses setup + install into one step.vp config when the repo wants stock hooks or agent integration instead of hand-rolled hook setup.setup-vp action's version input explicitly. Do not assume it will read the local vite-plus dependency version from package.json.vp run <script> (or vpr <script>) when CI needs a repo-specific script that VitePlus does not replace.