Skip to content

Use latest PNPM version if not specified#81

Merged
delucis merged 3 commits intomainfrom
chris/fix-pnpm-version-support
Aug 30, 2025
Merged

Use latest PNPM version if not specified#81
delucis merged 3 commits intomainfrom
chris/fix-pnpm-version-support

Conversation

@delucis
Copy link
Copy Markdown
Member

@delucis delucis commented Aug 30, 2025

Closes #80

This PR updates the action to check if a packageManager field is present when someone is using PNPM. If it isn’t, https://github.com/pnpm/action-setup won’t be able to detect the version to use, so we set it to latest and add a warning to the action run letting people know that an explicit version is recommended.

Copy link
Copy Markdown
Member

@HiDeoo HiDeoo left a comment

Choose a reason for hiding this comment

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

Left a tiny suggestion but otherwise looks good to me 👍 (also tested the logic locally using a bash script)

@delucis delucis merged commit 77fad83 into main Aug 30, 2025
@delucis delucis deleted the chris/fix-pnpm-version-support branch August 30, 2025 12:11
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.

astro ghpages action fails to autodetect pnpm usage

2 participants