File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ name: Publish Packages to npm
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ inputs :
6
+ debug :
7
+ description : ' Enable debug output'
8
+ required : false
9
+ default : ' 0'
10
+ type : string
11
+ options :
12
+ - ' 0'
13
+ - ' 1'
5
14
6
15
jobs :
7
16
build :
25
34
- run : npm publish --provenance --tag latest --access public
26
35
env :
27
36
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
37
+ SOCKET_CLI_DEBUG : ${{ inputs.debug }}
28
38
- run : npm access set mfa=automation @socketregistry/packageurl-js
29
39
env :
30
40
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
41
+ SOCKET_CLI_DEBUG : ${{ inputs.debug }}
Original file line number Diff line number Diff line change 9
9
pull_request :
10
10
branches :
11
11
- main
12
+ workflow_dispatch :
12
13
13
14
permissions :
14
15
contents : read
You can’t perform that action at this time.
0 commit comments