Skip to content

Commit b97f225

Browse files
committed
fix: github registry
1 parent 6f6c029 commit b97f225

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.npmrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
@arif-un:registry=https://npm.pkg.github.com
1+
@arif-un:registry=https://npm.pkg.github.com
2+
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
3+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

.releaserc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@
66
"plugins": [
77
"@semantic-release/commit-analyzer",
88
"@semantic-release/release-notes-generator",
9-
"@semantic-release/npm",
9+
["@semantic-release/npm", {
10+
"npmPublish": true
11+
}],
1012
[
1113
"@semantic-release/git",
1214
{
1315
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
1416
}
1517
],
16-
"@semantic-release/github"
18+
["@semantic-release/github",{
19+
"npmPublish": true,
20+
"pkgRoot": ".",
21+
"registry": "https://npm.pkg.github.com"
22+
}]
1723
],
1824
"github": {
1925
"token": "GITHUB_TOKEN"

0 commit comments

Comments
 (0)