Skip to content

ci: use voidzero-dev/setup-vp instead of setup-node + pnpm/action-setup#109

Merged
kodiakhq[bot] merged 1 commit intomainfrom
ci/migrate-to-setup-vp
Apr 4, 2026
Merged

ci: use voidzero-dev/setup-vp instead of setup-node + pnpm/action-setup#109
kodiakhq[bot] merged 1 commit intomainfrom
ci/migrate-to-setup-vp

Conversation

@RedStar071
Copy link
Copy Markdown
Member

@RedStar071 RedStar071 commented Apr 4, 2026

What

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.

Why

Simplifies CI setup to a single step with `node-version`, `cache`, and automatic dependency installation via `vp`. Based on npmx-dev/npmx.dev#2145.

Changes

  • continuous-integration.yml: 7 jobs migrated (lint, unit, test, browser, benchmark, a11y, knip)
  • autofix.yml: Replaced 3-step setup with single `setup-vp`
  • release-tag.yml: Replaced `setup-node` + `pnpm/action-setup` with `setup-vp`
  • release-pr.yml: Replaced `setup-node` with `setup-vp`

Key patterns

  • `cache: true` for jobs needing full dependency install (auto-runs `vp install`)
  • `run-install: false` for jobs with partial install (`vp install --filter . --ignore-scripts`)
  • `pnpm vp run/test/exec` -> `vp run/test/exec`
  • Pinned to `v1.6.0` (`8ecb3917`)

Impact

CI-only change. No runtime code changes.

Summary by CodeRabbit

  • Chores
    • Updated CI/CD workflow tooling and infrastructure configurations across automated build and testing pipelines to improve consistency and efficiency.

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
- Use cache: true for jobs needing full install
- Use run-install: false for jobs with partial install
- Pin to v1.6.0 (8ecb3917)
Copilot AI review requested due to automatic review settings April 4, 2026 16:04
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 4, 2026

Deploy Preview for wolfstar-rocks-et34281 ready!

Name Link
🔨 Latest commit 38d2554
🔍 Latest deploy log https://app.netlify.com/projects/wolfstar-rocks-et34281/deploys/69d13689cf7d680008004440
😎 Deploy Preview https://deploy-preview-109.wolfstar.rocks
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 82 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 94 (no change from production)
PWA: 90 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 4, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: ade8325c-9333-4eca-b4bd-01b0e4fcc3ac

📥 Commits

Reviewing files that changed from the base of the PR and between 87398df and 38d2554.

📒 Files selected for processing (4)
  • .github/workflows/autofix.yml
  • .github/workflows/continuous-integration.yml
  • .github/workflows/release-pr.yml
  • .github/workflows/release-tag.yml

📝 Walkthrough

Walkthrough

GitHub Actions workflows across four files replace Node.js and pnpm setup actions with a consolidated voidzero-dev/setup-vp action. Dependency installation commands transition from explicit pnpm steps to VP CLI equivalents (vp install, vp run, vp exec). Caching is conditionally enabled and install behavior is refined per job requirements.

Changes

Cohort / File(s) Summary
Node.js Setup Consolidation
.github/workflows/autofix.yml, .github/workflows/release-pr.yml, .github/workflows/release-tag.yml
Replaced actions/setup-node + pnpm/action-setup with voidzero-dev/setup-vp. Removed explicit pnpm installation steps and updated commands to use VP CLI for dependency management.
Multi-Job CI Pipeline Migration
.github/workflows/continuous-integration.yml
Replaced setup actions across all CI jobs (lint, unit, test, browser, benchmark, a11y, knip). Added conditional caching and adjusted install behavior with run-install: false for specific jobs. Updated all pnpm commands to VP CLI equivalents throughout.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested labels

contribution-ready

Poem

Our workflows hop with newfound grace,
VP now leads the tooling race,
Where pnpm once held the floor,
One action handles it all—and more! 🐰⚡

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: replacing setup-node + pnpm/action-setup with voidzero-dev/setup-vp across CI workflows, which directly matches the primary objective of the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/migrate-to-setup-vp
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch ci/migrate-to-setup-vp

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sentry
Copy link
Copy Markdown

sentry bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.03%. Comparing base (87398df) to head (38d2554).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #109   +/-   ##
=======================================
  Coverage   67.03%   67.03%           
=======================================
  Files          76       76           
  Lines        1878     1878           
  Branches      567      567           
=======================================
  Hits         1259     1259           
  Misses        489      489           
  Partials      130      130           
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 4, 2026

Merging this PR will not alter performance

✅ 44 untouched benchmarks


Comparing ci/migrate-to-setup-vp (38d2554) with main (87398df)

Open in CodSpeed

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes CI bootstrapping across workflows by replacing the actions/setup-node + pnpm/action-setup + pnpm install pattern with the unified voidzero-dev/setup-vp action, aligning CI with the repo’s vp-based tooling.

Changes:

  • Migrated CI workflow jobs to voidzero-dev/setup-vp (pinned to v1.6.0 / 8ecb3917) for Node setup + caching/install behavior.
  • Updated workflow commands from pnpm ... / pnpm vp ... to vp ... (including install, exec, run, and test invocations).
  • Applied the same setup pattern to release workflows and the autofix workflow (with run-install: false where appropriate).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/continuous-integration.yml Migrates all CI jobs to setup-vp, switches job commands to vp equivalents, and uses cache: true where full installs are required.
.github/workflows/autofix.yml Replaces multi-step Node+pnpm setup with setup-vp and runs autofix via vp run lint:fix.
.github/workflows/release-tag.yml Uses setup-vp (no auto-install) and switches dependency installation to vp install for release-note generation.
.github/workflows/release-pr.yml Uses setup-vp (no auto-install) for Node availability during release PR automation steps.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 4, 2026

👋 Thanks for the contribution, @RedStar071!

This PR meets the repository's contribution guidelines — the title follows Conventional Commits format, the description clearly explains the what, why, changes, and impact, and no screenshots or migration files are needed for a CI-only change.

The contribution-ready label has already been applied. A maintainer will review when available. 🚀

Generated by Contribution Guidelines Checker for issue #109 ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/contribution-guidelines-checker.md@1f672aef974f4246124860fc532f82fe8a93a57e

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI-only simplification — clean and well-structured. ✅

What looks good:

  • All 4 workflow files updated consistently with the same pattern.
  • Action pinned to full commit SHA (8ecb391...) with a # v1.6.0 version comment, matching the repo's existing security practice.
  • cache: true (full auto-install) vs run-install: false (manual partial install) is applied correctly per job — jobs that need everything get cache: true, jobs that do partial/no installs get run-install: false.
  • The vp install step in release-tag.yml correctly retains its if: steps.check.outputs.skip == 'false' guard.
  • pnpm prisma:generatevp run prisma:generate is correct since prisma:generate is a defined package.json script.

CI at review time: Lint ✅ · Unit tests ✅ · Component tests ✅ · Knip ✅ · GitGuardian ✅ · Browser/A11y/Benchmarks ⏳ (in progress, expected duration).

Generated by WolfStar Code Quality Reviewer for issue #109

@kodiakhq kodiakhq bot merged commit ac2b617 into main Apr 4, 2026
37 checks passed
@kodiakhq kodiakhq bot deleted the ci/migrate-to-setup-vp branch April 4, 2026 16:09
@coderabbitai coderabbitai bot mentioned this pull request Apr 4, 2026
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants