Skip to content

Commit 2d7b3f1

Browse files
committed
Manually set .npmrc
1 parent c069d5a commit 2d7b3f1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release_javascript.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ jobs:
1717
node-version: '20.x'
1818
registry-url: 'https://registry.npmjs.org'
1919

20-
- name: fix .npmrc location
21-
run: |
22-
cp $NPM_CONFIG_USERCONFIG ./cratedb_sqlparse_js/.npmrc
20+
- name: Manually set .npmrc
21+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./cratedb_sqlparse_js/.npmrc
2322

2423
- name: Set up Python
2524
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)