fix: use npm config instead of registry-url for OIDC tokenless publishing
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -40,7 +40,9 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
registry-url: "https://registry.npmjs.org"
|
|
||||||
|
- name: Configure npm registry
|
||||||
|
run: npm config set registry https://registry.npmjs.org
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install --ignore-scripts
|
run: bun install --ignore-scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user