This repository was archived by the owner on Dec 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,19 @@ jobs:
19
19
always-auth : true
20
20
env :
21
21
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
- - name : Can npm Publish
23
- run : |
24
- npm install can-npm-publish
25
- npx can-npm-publish --verbose
22
+ - name : Can Publish
23
+ run : npx can-npm-publish --verbose
24
+ env :
25
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ - name : Install
27
+ run : npm install
28
+ env :
29
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ - name : Build
31
+ run : npm run build --if-present
26
32
env :
27
33
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
- # npm install
29
- # npm run build
30
34
- name : Publish
31
- run : npm publish
35
+ run : npm publish --access=public
32
36
env :
33
37
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -19,14 +19,18 @@ jobs:
19
19
always-auth : true
20
20
env :
21
21
NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
22
- - name : Can npm Publish
23
- run : |
24
- npm install can-npm-publish
25
- npx can-npm-publish --verbose
22
+ - name : Can Publish
23
+ run : npx can-npm-publish --verbose
24
+ env :
25
+ NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
26
+ - name : Install
27
+ run : npm install
28
+ env :
29
+ NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
30
+ - name : Build
31
+ run : npm run build --if-present
26
32
env :
27
33
NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
28
- # npm install
29
- # npm run build
30
34
- name : Publish
31
35
run : npm publish --access=public
32
36
env :
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @neos21/req-cmd" ,
3
- "version" : " 1.0.6 " ,
3
+ "version" : " 1.0.7 " ,
4
4
"description" : " require() API and CLI in one JS" ,
5
5
"main" : " main.js" ,
6
6
"bin" : {
You can’t perform that action at this time.
0 commit comments