Skip to content

Commit 2392f54

Browse files
andris9claude
andcommitted
fix: update release workflow to Node 24 and use trusted publishers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6c17679 commit 2392f54

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,18 @@ jobs:
1818
with:
1919
release-type: node
2020
package-name: ${{vars.NPM_MODULE_NAME}}
21-
pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
21+
pull-request-title-pattern: "chore${scope}: release ${version} [skip-ci]"
2222
# The logic below handles the npm publication:
2323
- uses: actions/checkout@v3
2424
# these if statements ensure that a publication only occurs when
2525
# a new release is created:
2626
if: ${{ steps.release.outputs.release_created }}
2727
- uses: actions/setup-node@v3
2828
with:
29-
node-version: 18
30-
registry-url: 'https://registry.npmjs.org'
29+
node-version: 24
30+
registry-url: "https://registry.npmjs.org"
3131
if: ${{ steps.release.outputs.release_created }}
3232
- run: npm ci
3333
if: ${{ steps.release.outputs.release_created }}
3434
- run: npm publish --provenance --access public
35-
env:
36-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3735
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)