Skip to content

feat: lock semantic-release publish dependencies#1327

Merged
styfle merged 2 commits into
mainfrom
styfle/publish-semantic-release
May 27, 2026
Merged

feat: lock semantic-release publish dependencies#1327
styfle merged 2 commits into
mainfrom
styfle/publish-semantic-release

Conversation

@styfle

@styfle styfle commented May 27, 2026

Copy link
Copy Markdown
Member

We have a problem where semantic-release is only called in ci.yml but it doesnt have a lockfile which means transitive dependencies could change.

I think the reason it was set up this way is to avoid slowing down CI for PRs that don't publish since they wont need to install semantic-release (40MB). Only main needs to publish.

The fix is to add a new publish directory with its own lock file, then we can install and invoke the bin from the publish directory to ensure dependencies are locked.

@styfle styfle marked this pull request as ready for review May 27, 2026 21:11
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​semantic-release@​25.0.39710010091100

View full report

@styfle styfle requested review from ijjk, jeffsee55 and samcx May 27, 2026 21:12
@styfle styfle enabled auto-merge (squash) May 27, 2026 21:15
@styfle styfle merged commit 4461a52 into main May 27, 2026
14 checks passed
@styfle styfle deleted the styfle/publish-semantic-release branch May 27, 2026 21:20
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.

2 participants