Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

Commit

Permalink
ci(semantic-release): add branch config to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
spotify-kai committed Mar 9, 2021
1 parent 70bc1f7 commit 72c3464
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
- name: Run tests
run: npm test
- name: Release Dry-run
run: npx semantic-release --dry-run
run: npx semantic-release --branches ${{ env.GITHUB_HEAD_REF }} --dry-run
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,11 @@
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"branches": [
"main",
"next"
]
}
}

0 comments on commit 72c3464

Please sign in to comment.