Skip to content

Commit 219e28e

Browse files
committed
NPM publish workflow updated to trusted publishing
1 parent 42679a5 commit 219e28e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
with:
1818
node-version: '20.x'
1919
registry-url: 'https://registry.npmjs.org'
20+
- run: npm install -g npm@latest
2021
- run: npm ci
21-
- run: npm publish --provenance --access public
22-
env:
23-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
- run: npm run test
23+
- run: npm publish
24+

0 commit comments

Comments
 (0)