Skip to content

Commit c4d247a

Browse files
committed
fix: use npm config instead of registry-url for OIDC tokenless publishing
1 parent 10591cb commit c4d247a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
- uses: actions/setup-node@v4
4141
with:
4242
node-version: "20"
43-
registry-url: "https://registry.npmjs.org"
43+
44+
- name: Configure npm registry
45+
run: npm config set registry https://registry.npmjs.org
4446

4547
- name: Install dependencies
4648
run: bun install --ignore-scripts

0 commit comments

Comments
 (0)