feat: implement dual NPM publishing strategy
- Configure semantic-release for @beta and @latest tags - Main branch publishes to @beta (bleeding edge) - Stable branch publishes to @latest (production) - Enable CI/CD workflow for both branches
This commit is contained in:
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -3,6 +3,7 @@ name: Release
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- stable
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version_type:
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
{
|
||||
"branches": ["main"],
|
||||
"branches": [
|
||||
{
|
||||
"name": "main",
|
||||
"prerelease": "beta"
|
||||
},
|
||||
{
|
||||
"name": "stable"
|
||||
}
|
||||
],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
|
||||
Reference in New Issue
Block a user