Skip to content

Commit

Permalink
ci: add next pre-release channel
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdoRan committed Jan 23, 2024
1 parent fbaddc8 commit 9765f4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
- alpha
- beta
- next
- 4.x
pull_request:
branches:
Expand All @@ -27,7 +28,7 @@ jobs:
- run: npm run lint -- --filter=next-safe-action

CD:
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/4.x' }}
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/next'|| github.ref == 'refs/heads/4.x' }}
runs-on: ubuntu-latest
needs: [CI]
steps:
Expand Down
5 changes: 5 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
"channel": "beta",
"prerelease": true
},
{
"name": "next",
"channel": "next",
"prerelease": true
},
{
"name": "4.x",
"range": "4.x",
Expand Down

0 comments on commit 9765f4b

Please sign in to comment.