Skip to content

chore: optimize CI pnpm setup#146

Open
chenjiahan wants to merge 1 commit into
mainfrom
codex/optimize-ci-pnpm-action-20260609
Open

chore: optimize CI pnpm setup#146
chenjiahan wants to merge 1 commit into
mainfrom
codex/optimize-ci-pnpm-action-20260609

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

This PR aligns the GitHub Actions pnpm setup with the current Rsbuild workflow pattern from web-infra-dev/rsbuild#7856.

  • Replace corepack/manual pnpm install steps with pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 and run_install: true.
  • Explicitly disable actions/setup-node package manager caching with package-manager-cache: false.
  • Keep browser installation commands as separate post-install steps where needed.

@chenjiahan chenjiahan marked this pull request as ready for review June 9, 2026 03:57
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 65b18a18-de17-4e79-aa75-0d0f4b18d125

📥 Commits

Reviewing files that changed from the base of the PR and between f67de8e and 16f4487.

📒 Files selected for processing (2)
  • .github/workflows/release.yml
  • .github/workflows/test.yml

📝 Walkthrough

Walkthrough

Both the release and test GitHub Actions workflows are updated to standardize their Node.js and Pnpm package manager setup. The workflows now use actions/setup-node@v6 with package-manager-cache: false and replace Corepack-based Pnpm installation with pnpm/action-setup (configured with run_install: true). This removes separate Corepack and pnpm install steps from both workflows.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: optimizing CI pnpm setup in GitHub Actions workflows.
Description check ✅ Passed The description is directly related to the changeset, explaining the motivation and specific changes made to the CI pnpm setup.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ 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 codex/optimize-ci-pnpm-action-20260609

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

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.

1 participant