Skip to content

fix: use npx semantic-release directly instead of GitHub Action#5

Merged
CoffeeCupTechWriting merged 2 commits into
mainfrom
fix/semantic-release-direct
Jan 17, 2026
Merged

fix: use npx semantic-release directly instead of GitHub Action#5
CoffeeCupTechWriting merged 2 commits into
mainfrom
fix/semantic-release-direct

Conversation

@CoffeeCupTechWriting
Copy link
Copy Markdown
Owner

Summary

Replace the problematic cycjimmy/semantic-release-action with a direct npx call to semantic-release.

Why

  • cycjimmy/semantic-release-action was causing 'semanticRelease is not a function' errors
  • All semantic-release plugins are already installed as devDependencies
  • npx will automatically use the .releaserc configuration
  • Simpler and more reliable approach

Changes

  • Remove cycjimmy/semantic-release-action@v3 step
  • Replace with simple:
  • Maintains same environment variables (GITHUB_TOKEN, NPM_TOKEN)

Test plan

  • PR checks pass
  • Workflow simplification

- Replace cycjimmy/semantic-release-action with direct npx call
- All semantic-release plugins already installed as devDependencies
- npx will use .releaserc configuration automatically
- Simpler and more reliable approach
- semantic-release v25 requires Node ^22.14.0 or >= 24.10.0
- Update publish.yml to use Node 22.x
- Update pr-checks.yml to use Node 22.x for consistency
@CoffeeCupTechWriting CoffeeCupTechWriting merged commit ee5e8fe into main Jan 17, 2026
1 check passed
@CoffeeCupTechWriting CoffeeCupTechWriting deleted the fix/semantic-release-direct branch January 17, 2026 22:33
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