Skip to content

feat: support bun and pnpm, update handling for detecting yarn and npm#301

Open
michaeljaltamirano wants to merge 1 commit into
mainfrom
feat/support-bun-and-pnpm
Open

feat: support bun and pnpm, update handling for detecting yarn and npm#301
michaeljaltamirano wants to merge 1 commit into
mainfrom
feat/support-bun-and-pnpm

Conversation

@michaeljaltamirano

@michaeljaltamirano michaeljaltamirano commented Dec 26, 2025

Copy link
Copy Markdown

Sibling to open-turo/actions-node#173. From that PR:

The actions-node GHA is relatively brittle, expecting yarn as the package manager for repos that rely on it, though there is fallback logic to npm if no yarn artifacts are detected. This PR seeks to make the GHA compatible with two other tools: bun and pnpm. (deno was excluded to try not to add too much at once.) This will allow repos that rely on this GHA to use whichever tool best suits the needs for that given repo, without the restriction on yarn (classic) and npm.

@michaeljaltamirano michaeljaltamirano requested a review from a team as a code owner December 26, 2025 22:37
@michaeljaltamirano michaeljaltamirano force-pushed the feat/support-bun-and-pnpm branch 2 times, most recently from e49c93a to fbfab11 Compare December 29, 2025 20:02

@tagoro9 tagoro9 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if these need to be breaking changes, since not a lot is changing beyond the addition of bun and pnpm? Or if there are breaking changes, I would document them better. I think making these not breaking should be ok too

Comment thread docs/breaking-changes/v4.md Outdated
# Breaking Changes in v8

- Adds support for `bun` and `pnpm`
- Updates logic for existing `npm` and `yarn` detection, and so may

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add more details here on what is changing in the behavior? As a consumer of this lib, what would I have to change?

@michaeljaltamirano michaeljaltamirano force-pushed the feat/support-bun-and-pnpm branch from e1a64b9 to 7144876 Compare January 13, 2026 23:01
@michaeljaltamirano michaeljaltamirano force-pushed the feat/support-bun-and-pnpm branch from 7144876 to dd58457 Compare January 13, 2026 23:12
@github-actions

Copy link
Copy Markdown

Release notes preview

Below is a preview of the release notes if your PR gets merged.


3.1.0 (2026-01-13)

Features

  • support bun and pnpm, update handling for detecting yarn and npm (dd58457)

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.

3 participants