Skip to content

Commit a9dcc1e

Browse files
committed
chore: add ci support for next
1 parent 72fb7fe commit a9dcc1e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/on_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- main
6+
- next
67
jobs:
78
release:
89
name: Release
@@ -20,6 +21,8 @@ jobs:
2021
cache: pnpm
2122
- name: Install dependencies
2223
run: pnpm install --frozen-lockfile
24+
- name: Test
25+
run: pnpm t
2326
- name: Release
2427
env:
2528
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
2-
"branches": ["main"],
2+
"branches": [
3+
"main",
4+
{
5+
"name": "next",
6+
"prerelease": true
7+
}
8+
],
39
"plugins": [
410
"@semantic-release/commit-analyzer",
511
[

0 commit comments

Comments
 (0)