File tree Expand file tree Collapse file tree 2 files changed +21
-20
lines changed Expand file tree Collapse file tree 2 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 11name : Publish Package to npmjs
22
33on :
4- release :
5- types : [created]
4+ release :
5+ types : [created]
66
77jobs :
8- build :
9- runs-on : ubuntu-latest
8+ build :
9+ runs-on : ubuntu-latest
1010
11- permissions :
12- contents : read
13- id-token : write
11+ permissions :
12+ contents : read
13+ id-token : write
1414
15- steps :
16- - uses : actions/checkout@v4
17- - uses : actions/setup-node@v4
18- with :
19- node-version : ' 18'
20- registry-url : ' https://registry.npmjs.org'
21- cache : npm
22- - run : npm install
23- - run : npm publish --provenance --access public
24- env :
25- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : ' 18'
20+ registry-url : ' https://registry.npmjs.org'
21+ cache : npm
22+ scope : ' @socketsecurity'
23+ - run : npm install
24+ - run : npm publish --provenance --access public
25+ env :
26+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "name" : " @socketsecurity/ sdk" ,
3- "version" : " 1.4.2 " ,
2+ "name" : " sdk" ,
3+ "version" : " 1.4.3 " ,
44 "license" : " MIT" ,
55 "description" : " SDK for the Socket API client" ,
66 "author" : {
You can’t perform that action at this time.
0 commit comments