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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- stable
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version_type:
|
version_type:
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
{
|
{
|
||||||
"branches": ["main"],
|
"branches": [
|
||||||
|
{
|
||||||
|
"name": "main",
|
||||||
|
"prerelease": "beta"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stable"
|
||||||
|
}
|
||||||
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
|
|||||||
Reference in New Issue
Block a user