Skip to content

Commit 5af24e1

Browse files
committed
ci: update semantic-release config
1 parent 3615410 commit 5af24e1

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ jobs:
88
name: Release
99
runs-on: ubuntu-latest
1010
permissions:
11-
contents: write
11+
contents: write # for Creating tags and releases
12+
issues: write # for Editing issue content, Commenting on issues, Closing issues
13+
pull-requests: write # for Commenting on PRs, Merging or closing PRs
14+
id-token: write # for publishing to NPM
15+
# packages: write # for publishing to GitHub Packages
1216
steps:
1317
- name: Checkout code
1418
uses: actions/checkout@v4

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
node_modules
22
coverage
33
dist
4+
5+
# macOS
6+
.DS_Store

.releaserc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
2-
"branches": ["main"],
2+
"branches": [
3+
"main",
4+
{ "name": "alpha", "prerelease": true },
5+
{ "name": "beta", "prerelease": true }
6+
],
37
"plugins": [
48
"@semantic-release/commit-analyzer",
59
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)