Skip to content

Commit 4c5bd26

Browse files
committed
chore: Add prelease config to semantic release
1 parent 6532222 commit 4c5bd26

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
push:
44
branches:
55
- master
6+
- beta
67
pull_request:
78
branches:
89
- master
10+
- beta
911
jobs:
1012
test:
1113
runs-on: ubuntu-latest

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,21 @@
4040
"private": true,
4141
"release": {
4242
"branches": [
43-
"master"
43+
"master",
44+
{
45+
"name": "beta",
46+
"prerelease": true
47+
}
4448
],
45-
"dryRun": false,
49+
"dryRun": true,
4650
"plugins": [
4751
"@semantic-release/commit-analyzer",
4852
"@semantic-release/release-notes-generator",
4953
[
5054
"@semantic-release/npm",
5155
{
5256
"pkgRoot": "./dist/stream-chat-angular",
53-
"npmPublish": true
57+
"npmPublish": false
5458
}
5559
],
5660
[

0 commit comments

Comments
 (0)