Skip to content

Commit

Permalink
Merge pull request #846 from storyblok/chore/enable-next-auto-releases
Browse files Browse the repository at this point in the history
chore(ci): enable automatic next release
  • Loading branch information
alvarosabu authored Jul 31, 2024
2 parents 3592e38 + 2db6deb commit 8a938c3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: release
name: Release CI

# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

on:
push:
branches:
- main
branches: [main, next, beta]
pull_request:
branches: [main, next, beta]

jobs:
publish:
Expand Down
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@
},
"release": {
"branches": [
"main"
"main",
{
"name": "next",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
]
},
"publishConfig": {
Expand Down

0 comments on commit 8a938c3

Please sign in to comment.