Skip to content

Commit 66aad99

Browse files
authored
fix: back to publishing using semantic-release [KHCP-17673] (#791)
1 parent 1c1d501 commit 66aad99

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
@@ -134,14 +134,7 @@ jobs:
134134

135135
- name: Semantic Release
136136
if: github.event_name == 'push'
137-
uses: cycjimmy/semantic-release-action@0a51e81a6baff2acad3ee88f4121c589c73d0f0e # v4.2.0
137+
uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
138138
env:
139139
# Since branch protections are on (pushing commits) you need to use a bot PAT
140140
GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }}
141-
142-
# as of now cycjimmy/semantic-release-action is not publishing to npmjs as
143-
# trusted publishing is not yet supported, so we want to do a publish as separate step
144-
- name: Publish to npm
145-
if: github.event_name == 'push'
146-
run: |
147-
npm publish

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,7 @@
132132
"changelogFile": "CHANGELOG.md"
133133
}
134134
],
135-
[
136-
"@semantic-release/npm",
137-
{
138-
"npmPublish": false
139-
}
140-
],
135+
"@semantic-release/npm",
141136
[
142137
"@semantic-release/git",
143138
{

0 commit comments

Comments
 (0)