File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,12 @@ jobs:
545545 name : Publish JavaScript
546546 needs : versioning
547547 runs-on : ubuntu-24.04
548+ environment :
549+ name : npm-stringzilla
550+ url : https://www.npmjs.com/package/stringzilla
551+ permissions :
552+ contents : read
553+ id-token : write
548554 steps :
549555 - name : Checkout
550556 uses : actions/checkout@v5
@@ -556,16 +562,15 @@ jobs:
556562 uses : actions/setup-node@v5
557563 with :
558564 node-version : 20
565+ registry-url : " https://registry.npmjs.org"
559566 - name : Install dependencies
560- run : npm install
561- - name : Clean install dependencies
562- run : npm install
567+ run : npm ci
563568 - name : Run tests
564569 run : npm test
565570 - name : Publish to NPM
566- uses : JS-DevTools/ npm- publish@v3
567- with :
568- token : ${{ secrets.NPM_TOKEN }}
571+ run : npm publish --provenance --access public
572+ env :
573+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
569574
570575 create_linux_deb_package :
571576 name : Create Debian Package for ${{ matrix.arch }}
@@ -666,7 +671,7 @@ jobs:
666671 persist-credentials : false
667672 ref : " main"
668673 submodules : recursive
669-
674+
670675 - uses : ilammy/msvc-dev-cmd@v1
671676 with :
672677 arch : ${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments