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 1
1
name : Publish Package to npmjs
2
2
3
3
on :
4
- release :
5
- types : [created]
4
+ release :
5
+ types : [created]
6
6
7
7
jobs :
8
- build :
9
- runs-on : ubuntu-latest
8
+ build :
9
+ runs-on : ubuntu-latest
10
10
11
- permissions :
12
- contents : read
13
- id-token : write
11
+ permissions :
12
+ contents : read
13
+ id-token : write
14
14
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 1
1
{
2
- "name" : " @socketsecurity/ sdk" ,
3
- "version" : " 1.4.2 " ,
2
+ "name" : " sdk" ,
3
+ "version" : " 1.4.3 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " SDK for the Socket API client" ,
6
6
"author" : {
You can’t perform that action at this time.
0 commit comments