File tree Expand file tree Collapse file tree 4 files changed +27
-28
lines changed Expand file tree Collapse file tree 4 files changed +27
-28
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ name: Linting
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
tags :
8
8
- ' *'
9
9
pull_request :
10
10
branches :
11
- - master
11
+ - main
12
12
13
13
permissions :
14
14
contents : read
Original file line number Diff line number Diff line change 1
- name : Publish Package to npmjs
1
+ name : Publish Packages to npm
2
2
3
3
on :
4
- release :
5
- types : [created]
4
+ workflow_dispatch :
6
5
7
6
jobs :
8
- build :
9
- runs-on : ubuntu-latest
7
+ build :
8
+ runs-on : ubuntu-latest
10
9
11
- permissions :
12
- contents : read
13
- id-token : write
10
+ permissions :
11
+ contents : read
12
+ id-token : write
14
13
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
2
2
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
tags :
8
8
- ' *'
9
9
pull_request :
10
10
branches :
11
- - master
11
+ - main
12
12
13
13
permissions :
14
14
contents : read
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ name: Type Checks
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
tags :
8
8
- ' *'
9
9
pull_request :
10
10
branches :
11
- - master
11
+ - main
12
12
schedule :
13
13
- cron : ' 14 5 * * 1,3,5'
14
14
You can’t perform that action at this time.
0 commit comments