Skip to content

Commit 186bac9

Browse files
authored
chore: Give write permission to package releases (#13)
* Give content write access * Release only on publish
1 parent 02957a5 commit 186bac9

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/publish-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Publish meerkat-library
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
release:
5+
types: [published]
76

87
jobs:
98
publish-npm:

meerkat-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"plugins": [
1515
"@semantic-release/commit-analyzer",
1616
"@semantic-release/release-notes-generator",
17-
"@semantic-release/npm"
17+
"@semantic-release/github"
1818
]
1919
},
2020
"type": "commonjs",

meerkat-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"plugins": [
1313
"@semantic-release/commit-analyzer",
1414
"@semantic-release/release-notes-generator",
15-
"@semantic-release/npm"
15+
"@semantic-release/github"
1616
]
1717
},
1818
"type": "commonjs",

meerkat-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"plugins": [
1515
"@semantic-release/commit-analyzer",
1616
"@semantic-release/release-notes-generator",
17-
"@semantic-release/npm"
17+
"@semantic-release/github"
1818
]
1919
},
2020
"type": "commonjs",

0 commit comments

Comments
 (0)