Skip to content

Commit

Permalink
chore(ci): allow prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Jul 30, 2024
1 parent dbc9224 commit baf2e38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Prepare release
run: pnpm semantic-release
run: pnpm semantic-release -d
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Publish packages
run: pnpm publish -r
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,15 @@
"registry": "https://registry.npmjs.org"
},
"release": {
"branches": "main",
"branches": [
{
"name": "main"
},
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down

0 comments on commit baf2e38

Please sign in to comment.