Skip to content

Commit 28669cb

Browse files
committed
fix: npm 401
1 parent 8f3cf8e commit 28669cb

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ jobs:
6363
registry-url: 'https://registry.npmjs.org'
6464

6565
- name: Authenticate with npm
66-
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
66+
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> "${NPM_CONFIG_USERCONFIG}"
6767
env:
6868
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6969

7070
- name: Verify npm auth
71-
run: npm whoami --registry=https://registry.npmjs.org/
71+
run: npm whoami --registry=https://registry.npmjs.org/ --no-warnings
7272

7373
- name: Build
7474
if: inputs.skip_checks == false

packages/sdk-react-provider/.yarnrc.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)