Automated npm publish workflow for @solidprofessorhub/shared-components
with Teams notifications. Triggers on version change in package.json,
validates CHANGELOG entry exists, publishes to GitHub Packages, and notifies the team.
The workflow enforces that every version bump has a corresponding CHANGELOG entry. If the entry is missing, the build fails with a helpful message.
## [1.26.0] - 2026-10-01 ### Added - **NewComponent** - Description
Error: No CHANGELOG entry found for version 1.26.0 Please add a changelog entry before publishing.
A new version of @solidprofessorhub/shared-components has been published to GitHub Packages.
See CHANGELOG.md for details
| Secret | Description | Setup |
|---|---|---|
GITHUB_TOKEN |
Auto-provided by GitHub Actions | Automatic |
FONTAWESOME_NPM_TOKEN |
For FontAwesome Pro icons | Already configured |
TEAMS_WEBHOOK_URL |
Teams incoming webhook URL | DevOps |
| Scenario | Behavior |
|---|---|
| No version change | Workflow skips entirely |
| Version changed but no CHANGELOG entry | ❌ Fails with helpful message |
| Version already published | ⚠️ Skips publish, logs warning |
| Multiple PRs with same version | First wins, second skips publish |
| Teams webhook not configured | Notification step skipped silently |
| Other dev merged without publishing | ⚠️ Their changes included in your publish — use /release notes first to see all changes |
A Claude Code skill is available to help with the release process:
/release prep automatically shows ALL changes
since the last version before bumping. This includes changes from other developers who may
have merged without publishing. You'll be prompted to confirm before proceeding.
/release prep analyzes commit messages to suggest the right bump type:
feat!:feat: commits or new componentsfix:, chore:, etc.You can always override the suggestion or use /release prep patch directly.
/release — Check if ready to release (default)/release check — Validate release readiness/release changelog — Generate changelog entry from recent changes/release prep — Auto-detect bump type + scaffold CHANGELOG/release prep [patch|minor|major] — Explicit bump type + scaffold CHANGELOG/release notes — Show changes since last version
Location: .claude/skills/release/SKILL.md
.github/workflows/publish.yml~/.claude/skills/release/SKILL.md