Skip to content

Commit c614def

Browse files
authored
fix: back to publishing using semantic-release [KHCP-17673] (#1789)
1 parent fe9ba43 commit c614def

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,8 @@ jobs:
119119
GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }}
120120

121121
- name: Semantic Release
122-
uses: cycjimmy/semantic-release-action@ba330626c4750c19d8299de843f05c7aa5574f62 # v5.0.2
122+
uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
123123
if: github.event_name == 'push'
124124
env:
125125
# Since branch protections are on (pushing commits) you need to use a bot PAT
126126
GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }}
127-
128-
# as of now cycjimmy/semantic-release-action is not publishing to npmjs as
129-
# trusted publishing is not yet supported, so we want to do a publish as separate step
130-
- name: Publish to npm
131-
if: github.event_name == 'push'
132-
run: |
133-
npm publish

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,7 @@
128128
"changelogFile": "CHANGELOG.md"
129129
}
130130
],
131-
[
132-
"@semantic-release/npm",
133-
{
134-
"npmPublish": false
135-
}
136-
],
131+
"@semantic-release/npm",
137132
[
138133
"@semantic-release/git",
139134
{

0 commit comments

Comments
 (0)