File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22name : " 🍩Feature Request"
33about : " Suggest an idea for this project"
4- labels : enhancement
4+ labels : feature
55title : " feature: "
66---
77
Original file line number Diff line number Diff line change 1414 PRIMARY_NODE_VERSION : 10.x
1515 FORCE_COLOR : true
1616 JEST_CI : true
17+ REGISTRY : https://registry.npmjs.org/
1718
1819jobs :
1920 test :
9293 uses : actions/setup-node@v1
9394 with :
9495 node-version : ${{ env.PRIMARY_NODE_VERSION }}
95- registry-url : https://registry.npmjs.org/
96+ registry-url : ${{ env.$REGISTRY }}
9697
9798 - name : Get yarn cache directory path
9899 id : yarn-cache-dir-path
@@ -114,8 +115,10 @@ jobs:
114115
115116 - name : Publish
116117 run : |
117- yarn config set registry https://registry.npmjs.org/
118- yarn config set //registry.npmjs.org/:_authToken $NPM_AUTH_TOKEN
118+ yarn config set registry $REGISTRY
119+ yarn config set username $NPM_AUTH_USER
120+ yarn config set email $NPM_AUTH_EMAIL
121+ npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
119122 yarn publish --non-interactive --no-git-tag-version
120123 env :
121124 NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments