File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 publish :
9- name : Publish to npm
9+ name : Publish to NPM
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout branch
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414 - name : Set up Node
1515 uses : actions/setup-node@v3
1616 with :
1717 node-version : 18
18- registry-url : " https://registry.npmjs.org"
18+ registry-url : " https://registry.npmjs.org/"
19+ always-auth : " true"
1920 - name : Install dependencies
2021 run : yarn install
21- - name : Run npm publish command
22+ - name : Test, build, then publish
2223 env :
2324 NODE_AUTH_TOKEN : ${{ secrets.PUBLISH_REACT_SDK_TO_NPM }}
24- NPM_TOKEN : ${{ secrets.PUBLISH_REACT_SDK_TO_NPM }}
25- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26- run : npm publish
25+ run : yarn npm publish
You can’t perform that action at this time.
0 commit comments