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 18
18
registry-url : ' https://registry.npmjs.org'
19
19
20
20
- 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
23
27
- name : Set up Python
24
28
uses : actions/setup-python@v6
25
29
with :
39
43
working-directory : ' cratedb_sqlparse_js'
40
44
run : npm install && npm run build
41
45
42
- - run : npm publish --provenance --access public
46
+ - run : npm publish --provenance --access public --registry=https://registry.npmjs.org/:authToken=${{ secrets.NPM_TOKEN }}
43
47
working-directory : ' cratedb_sqlparse_js'
44
48
env :
45
49
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments