Skip to content

Commit

Permalink
chore: add ci support for next
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicpages committed Nov 12, 2023
1 parent 72fb7fe commit a9dcc1e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- next
jobs:
release:
name: Release
Expand All @@ -20,6 +21,8 @@ jobs:
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm t
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 7 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"branches": ["main"],
"branches": [
"main",
{
"name": "next",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
[
Expand Down

0 comments on commit a9dcc1e

Please sign in to comment.