Skip to content

chore: revert back to use unified Node and pnpm setup action#151

Open
charIeszhao wants to merge 1 commit intomasterfrom
charles-revert-back-to-actions-node-pnpm-run-steps@v5
Open

chore: revert back to use unified Node and pnpm setup action#151
charIeszhao wants to merge 1 commit intomasterfrom
charles-revert-back-to-actions-node-pnpm-run-steps@v5

Conversation

@charIeszhao
Copy link
Member

Summary

Revert back to use silverhand-io/actions-node-pnpm-run-steps@v5 and specify Node and pnpm versions

@charIeszhao charIeszhao requested review from a team and Copilot January 19, 2026 07:36
@charIeszhao charIeszhao self-assigned this Jan 19, 2026
@charIeszhao charIeszhao enabled auto-merge (squash) January 19, 2026 07:36
Copy link

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 reverts the GitHub Actions workflow configuration to use a unified setup action (silverhand-io/actions-node-pnpm-run-steps@v5) instead of separate pnpm and Node.js setup actions. The change simplifies the workflow configuration by consolidating the setup process.

Changes:

  • Replaced separate pnpm/action-setup and actions/setup-node actions with a single unified silverhand-io/actions-node-pnpm-run-steps@v5 action
  • Removed explicit pnpm i command from the build step (assumed to be handled by the unified action)
  • Changed Node version specification from exact version to caret range

Reviewed changes

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

File Description
.github/workflows/main.yml Updated to use unified Node/pnpm setup action and removed explicit dependency installation
.github/workflows/deploy.yml Updated to use unified Node/pnpm setup action and removed explicit dependency installation

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

node-version: 22.14.0
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
node-version: ^22.14.0
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

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

The node version specification has changed from an exact version (22.14.0) to a caret range (^22.14.0). This allows any version 22.x.x >= 22.14.0, which could lead to inconsistent builds across different workflow runs as new Node versions are released. Consider using an exact version for reproducible builds.

Suggested change
node-version: ^22.14.0
node-version: 22.14.0

Copilot uses AI. Check for mistakes.
node-version: 22.14.0
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
node-version: ^22.14.0
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

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

The node version specification has changed from an exact version (22.14.0) to a caret range (^22.14.0). This allows any version 22.x.x >= 22.14.0, which could lead to inconsistent builds across different workflow runs as new Node versions are released. Consider using an exact version for reproducible builds.

Suggested change
node-version: ^22.14.0
node-version: 22.14.0

Copilot uses AI. Check for mistakes.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 19, 2026

Deploying auth-wiki with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8d4c6ff
Status: ✅  Deploy successful!
Preview URL: https://01fcba74.auth-wiki.pages.dev
Branch Preview URL: https://charles-revert-back-to-actio.auth-wiki.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants