feat: automated GitHub Actions CI/release pipeline#19
Merged
Conversation
- 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
This reverts commit 4a8e600.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
workflow_dispatchrelease workflow for@toppynl/twingcore.releaserc/configs for html-extra, components, and cache-extrascripts/publish-workspaces.shfor custom build+publish fromsrc/main/target/NPM_TOKEN_TOPPYNL_ORGsecret scoped to@toppynlpackages onlyPre-merge checklist
twing-html-extra-v0.1.1,twing-components-v0.2.1,twing-cache-extra-v0.0.0)NPM_TOKEN_TOPPYNL_ORGsecret added to repo