Skip to content

Commit 45c92e2

Browse files
chore: Use trusted publishers in build-release.yaml (#6)
1 parent d8d0dc8 commit 45c92e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ jobs:
3939
node-version: '24.x'
4040
registry-url: 'https://registry.npmjs.org'
4141

42+
- name: Update NPM
43+
run: npm install -g npm@latest
44+
4245
- name: Install dependencies
4346
run: npm install
4447

4548
- name: Publish package
4649
run: npm publish --provenance --access public
47-
env:
48-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4950

5051
release-github:
5152
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)