This repository was archived by the owner on Sep 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +36
-7
lines changed Expand file tree Collapse file tree 2 files changed +36
-7
lines changed Original file line number Diff line number Diff line change 1+ name : NPM Publisher
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Setup Node
13+ uses : actions/setup-node@v1
14+ with :
15+ node-version : 12
16+ registry-url : https://registry.npmjs.org
17+ - name : Build package
18+ run : |
19+ npm install
20+ - name : Register Token
21+ run : |
22+ echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > /home/runner/work/_temp/.npmrc
23+ echo "_auth=$NODE_AUTH_TOKEN" >> /home/runner/work/_temp/.npmrc
24+ echo "email=<[email protected] >" >> /home/runner/work/_temp/.npmrc 25+ echo "always-auth=true" >> /home/runner/work/_temp/.npmrc
26+ env :
27+ NODE_AUTH_TOKEN : ${{ secrets.npm_token }}
28+ - name : Publish
29+ run : npm publish
Original file line number Diff line number Diff line change 66 "author" :
" Wahyu Kristianto <[email protected] >" ,
77 "license" : " MIT" ,
88 "dependencies" : {
9- "chalk" : " ^1.1.1 " ,
10- "fildes" : " ^1 .0.5 " ,
11- "inquirer" : " ^0.11.2 " ,
12- "node-emoji" : " ^1.0.4 " ,
13- "os-homedir" : " ^1 .0.1 " ,
14- "unirest" : " ^0.4.2 " ,
15- "vorpal" : " ^1.5.5 " ,
9+ "chalk" : " ^2.4.2 " ,
10+ "fildes" : " ^3 .0.0 " ,
11+ "inquirer" : " ^7.0.0 " ,
12+ "node-emoji" : " ^1.10.0 " ,
13+ "os-homedir" : " ^2 .0.0 " ,
14+ "unirest" : " ^0.6.0 " ,
15+ "vorpal" : " ^1.12.0 " ,
1616 "wordwrap" : " ^1.0.0"
1717 },
1818 "devDependencies" : {},
You can’t perform that action at this time.
0 commit comments