File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1818 registry-url : ' https://registry.npmjs.org'
1919
2020 - name : Manually set .npmrc
21- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./cratedb_sqlparse_js/.npmrc
22-
21+ run : |
22+ # The token works fine in my own .npmjs, but for some reason the .npmrc that is being set up
23+ # is not being picked up, manually setting the first line didnt work, maybe its the second?
24+ # we might need
25+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./cratedb_sqlparse_js/.npmrc
26+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
2327 - name : Set up Python
2428 uses : actions/setup-python@v6
2529 with :
3943 working-directory : ' cratedb_sqlparse_js'
4044 run : npm install && npm run build
4145
42- - run : npm publish --provenance --access public
46+ - run : npm publish --provenance --access public --registry=https://registry.npmjs.org/:authToken=${{ secrets.NPM_TOKEN }}
4347 working-directory : ' cratedb_sqlparse_js'
4448 env :
4549 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments