File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 7676 - name : Publish
7777 if : ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
7878 run : |
79- yarn config set npmAuthToken $NODE_AUTH_TOKEN
79+ yarn config set npmRegistryServer "https://registry.npmjs.org"
80+ yarn config set npmAlwaysAuth true
81+ yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }}
8082 yarn publish --tag next --no-git-tag-version --prepatch --preid "$(git rev-parse --short HEAD)"
8183 env :
8284 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 4545 run : yarn check-dependencies
4646
4747 - name : Set Publish Auth
48- run : yarn config set npmAuthToken $NODE_AUTH_TOKEN
48+ run : |
49+ yarn config set npmRegistryServer "https://registry.npmjs.org"
50+ yarn config set npmAlwaysAuth true
51+ yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }}
4952
5053 # Publish to npm
5154 - name : Publish to npm
You can’t perform that action at this time.
0 commit comments