Skip to content

Commit 76980fb

Browse files
committed
fix: actions
1 parent 36654e3 commit 76980fb

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
run: yarn build
3131
- name: Release
3232
run: yarn release
33-
- name: Publish to npm
34-
run: npm publish
33+
env:
34+
NPM_CONFIG_PROVENANCE: true

.releaserc.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@
1010
"plugins": [
1111
"@semantic-release/commit-analyzer",
1212
"@semantic-release/release-notes-generator",
13+
[
14+
"@semantic-release/npm",
15+
{
16+
"npmPublish": true,
17+
"pkgRoot": "."
18+
}
19+
],
1320
"@semantic-release/github",
14-
"@semantic-release/git"
21+
[
22+
"@semantic-release/git",
23+
{
24+
"assets": ["package.json"],
25+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
26+
}
27+
]
1528
]
1629
}

0 commit comments

Comments
 (0)