Skip to content

Commit 376fb56

Browse files
committed
ci: [pub] pnpm
1 parent 512dbce commit 376fb56

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ jobs:
5454
- name: Run semantic-release
5555
env:
5656
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
run: pnpm exec semantic-release
57+
run: |
58+
pnpm publish
59+
pnpm exec semantic-release

.releaserc.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const production = {
1515
[
1616
'@semantic-release/git',
1717
{
18-
assets: ['CHANGELOG.md'],
18+
assets: ['CHANGELOG.md', 'package.json'],
1919
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
2020
}
2121
]

0 commit comments

Comments
 (0)