Skip to content

docs: improve "before" ci usage to actual use case#1551

Merged
fengmk2 merged 4 commits into
voidzero-dev:mainfrom
Mister-Hope:patch-1
May 11, 2026
Merged

docs: improve "before" ci usage to actual use case#1551
fengmk2 merged 4 commits into
voidzero-dev:mainfrom
Mister-Hope:patch-1

Conversation

@Mister-Hope
Copy link
Copy Markdown
Contributor

@Mister-Hope Mister-Hope commented May 11, 2026

Hi, this is pnpm documentation manager & maintainer.

It would be better if a better case for pnpm is used.

Here, I choose not to omit the version key (though in most project pnpm users may already have packageManger field so they don't need it)

Outputting pnpm store path is useless, and actions/node-setup could handle cache for pnpm with cache: pnpm. So the changed result is more natural.

Besides, a pnpm check (for pnpm run check) is added to align vite plus checks.

This also aligns the former node 22 to 24 with the latter ones

Signed-off-by: Mister-Hope <mister-hope@outlook.com>
Copilot AI review requested due to automatic review settings May 11, 2026 08:14
@netlify
Copy link
Copy Markdown

netlify Bot commented May 11, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit d9119c0
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a01b43e70f75300084e6054

Signed-off-by: Mister-Hope <mister-hope@outlook.com>
Signed-off-by: Mister-Hope <mister-hope@outlook.com>
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

Updates the CI guide to show a more realistic pnpm-based “Before” workflow when comparing against voidzero-dev/setup-vp, aiming to better reflect common GitHub Actions usage patterns.

Changes:

  • Updates the setup-vp example to use Node 24.
  • Reworks the “Before” pnpm workflow example (pnpm version, setup-node caching, removes manual store/cache steps).
  • Adds an explicit pnpm check step to align with Vite+ checks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/guide/ci.md
Comment thread docs/guide/ci.md
@fengmk2 fengmk2 merged commit c90e281 into voidzero-dev:main May 11, 2026
26 checks passed
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.

4 participants