File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ name: Linting
33on :
44 push :
55 branches :
6- - master
6+ - main
77 tags :
88 - ' *'
99 pull_request :
1010 branches :
11- - master
11+ - main
1212
1313permissions :
1414 contents : read
Original file line number Diff line number Diff line change 1- name : Publish Package to npmjs
1+ name : Publish Packages to npm
22
33on :
4- release :
5- types : [created]
4+ workflow_dispatch :
65
76jobs :
8- build :
9- runs-on : ubuntu-latest
7+ build :
8+ runs-on : ubuntu-latest
109
11- permissions :
12- contents : read
13- id-token : write
10+ permissions :
11+ contents : read
12+ id-token : write
1413
15- steps :
16- - uses : actions/checkout@v4
17- - uses : actions/setup-node@v4
18- with :
19- node-version : ' 20'
20- registry-url : ' https://registry.npmjs.org'
21- cache : npm
22- scope : " @socketsecurity"
23- - run : npm install -g npm@latest
24- - run : npm ci
25- - run : npm publish --access public
26- env :
27- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : ' 20'
19+ registry-url : ' https://registry.npmjs.org'
20+ cache : npm
21+ scope : " @socketsecurity"
22+ - run : npm install -g npm@latest
23+ - run : npm ci
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- name : Node CI
1+ name : CI
22
33on :
44 push :
55 branches :
6- - master
6+ - main
77 tags :
88 - ' *'
99 pull_request :
1010 branches :
11- - master
11+ - main
1212
1313permissions :
1414 contents : read
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ name: Type Checks
33on :
44 push :
55 branches :
6- - master
6+ - main
77 tags :
88 - ' *'
99 pull_request :
1010 branches :
11- - master
11+ - main
1212 schedule :
1313 - cron : ' 14 5 * * 1,3,5'
1414
You can’t perform that action at this time.
0 commit comments