Skip to content

feat: automated GitHub Actions CI/release pipeline#19

Merged
Swahjak merged 5 commits intomainfrom
feat/ci-pipeline
Apr 22, 2026
Merged

feat: automated GitHub Actions CI/release pipeline#19
Swahjak merged 5 commits intomainfrom
feat/ci-pipeline

Conversation

@Swahjak
Copy link
Copy Markdown
Member

@Swahjak Swahjak commented Apr 22, 2026

Summary

  • Adds CI workflow running tests on every PR and push to main (root package + workspace matrix)
  • Adds automated semantic-release pipeline for workspace packages on push to main (conventional commits → changelog + npm publish)
  • Adds manual workflow_dispatch release workflow for @toppynl/twing core
  • Adds .releaserc/ configs for html-extra, components, and cache-extra
  • Adds scripts/publish-workspaces.sh for custom build+publish from src/main/target/
  • Uses granular NPM_TOKEN_TOPPYNL_ORG secret scoped to @toppynl packages only

Pre-merge checklist

  • Anchor tags created (twing-html-extra-v0.1.1, twing-components-v0.2.1, twing-cache-extra-v0.0.0)
  • NPM_TOKEN_TOPPYNL_ORG secret added to repo

Swahjak added 5 commits April 22, 2026 11:28
- Replace Changesets with semantic-release for commit-driven versioning
  and automated CHANGELOG generation (feat→minor, fix→patch, BREAKING→major)
- Add ci.yml: parallel test matrix for root + each workspace package
- Add release.yml: sequential semantic-release per workspace package,
  publishes from src/main/target/ via custom scripts/publish-workspaces.sh
- Add release-core.yml: workflow_dispatch release for @toppynl/twing
  with dry-run support and semver validation
- Add .releaserc/ configs for html-extra, components, cache-extra
- Add scripts/publish-workspaces.sh: injects NEXT_VERSION as VERSION env
  var, builds with rollup, publishes from target/ directory
- Fix workspace packages: move peer deps to devDependencies to prevent
  workspace:* leaking into published package.json
- Add LICENSE files to html-extra and components packages
- Split build:lib from build:main in root to allow CI to skip bundling
- Add mkdir -p bundle guard to bundle script for clean CI checkouts
@Swahjak Swahjak merged commit 417001e into main Apr 22, 2026
0 of 4 checks 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