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 6
6
7
7
jobs :
8
8
publish :
9
- name : Publish to npm
9
+ name : Publish to NPM
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout branch
13
- uses : actions/checkout@v3
13
+ uses : actions/checkout@v4
14
14
- name : Set up Node
15
15
uses : actions/setup-node@v3
16
16
with :
17
17
node-version : 18
18
- registry-url : " https://registry.npmjs.org"
18
+ registry-url : " https://registry.npmjs.org/"
19
+ always-auth : " true"
19
20
- name : Install dependencies
20
21
run : yarn install
21
- - name : Run npm publish command
22
+ - name : Test, build, then publish
22
23
env :
23
24
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