Skip to content

fix(ci): use local deps for semantic-release on self-hosted runner#55

Merged
jasoet merged 1 commit intomainfrom
fix/release-semantic-release-deps
Mar 30, 2026
Merged

fix(ci): use local deps for semantic-release on self-hosted runner#55
jasoet merged 1 commit intomainfrom
fix/release-semantic-release-deps

Conversation

@jasoet
Copy link
Copy Markdown
Owner

@jasoet jasoet commented Mar 30, 2026

Summary

  • The Release workflow fails on the self-hosted Mac Mini runner because bun install -g installs packages globally but bunx semantic-release runs in an isolated temp directory that can't resolve those global modules (MODULE_NOT_FOUND: conventional-changelog-conventionalcommits)
  • Adds a package.json with pinned semantic-release dependencies so bun install --frozen-lockfile creates a local node_modules that bunx can resolve
  • Adds node_modules/ and .worktrees/ to .gitignore

Test plan

  • CI passes on this PR branch
  • Merge to main and verify the Release workflow succeeds

The global bun install (-g) doesn't share modules with bunx's isolated
temp directory on the self-hosted Mac Mini runner. Switch to a local
package.json with pinned semantic-release dependencies so bun install
creates a node_modules that bunx can resolve.
@jasoet jasoet merged commit 848821b into main Mar 30, 2026
1 check 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.

1 participant