Skip to content

Commit abc5a8e

Browse files
authored
fix: use npm trust publish (#9)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Expanded CI to test against Node.js 24 for broader compatibility. * Switched release pipeline to an npm-based workflow to streamline publishing. * Updated workflow permissions to enable necessary write operations. * Removed an unused NPM token from secrets; retained the Git token. * No user-facing changes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 06c422d commit abc5a8e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
1313
with:
1414
os: 'ubuntu-latest, macos-latest, windows-latest'
15-
version: '16, 18.19.0, 18, 20, 22'
15+
version: '16, 18.19.0, 18, 20, 22, 24'
1616
secrets:
1717
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ on:
33
push:
44
branches: [ master ]
55

6+
permissions:
7+
contents: write
8+
deployments: write
9+
issues: write
10+
pull-requests: write
11+
id-token: write
12+
613
jobs:
714
release:
8-
name: Node.js
9-
uses: node-modules/github-actions/.github/workflows/node-release.yml@master
15+
name: NPM Release
16+
uses: node-modules/github-actions/.github/workflows/npm-release.yml@master
1017
secrets:
11-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1218
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}

0 commit comments

Comments
 (0)