From d3b994811ebdb2652a2c6c2e1564f8436fd82e0f Mon Sep 17 00:00:00 2001 From: trungbach Date: Wed, 6 Nov 2024 17:26:16 +0700 Subject: [PATCH] chore: Update NPM registry configuration for package publishing --- .github/workflows/publish_package.yml | 2 -- .yarnrc.yml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index 11db977..49e1304 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -53,8 +53,6 @@ jobs: - name: Authenticate with private NPM package run: echo "//registry.npmjs.org/:npmAuthToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc - - name: Config registry - run: yarn config set registry https://registry.npmjs.org/ - name: Publish Oraichain Common id: publish-oraichain-common continue-on-error: true diff --git a/.yarnrc.yml b/.yarnrc.yml index 1a22c4a..1bf57fd 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,2 +1,3 @@ nodeLinker: node-modules npmAuthToken: ${{ secrets.NPM_TOKEN }} +npmRegistryServer: "https://registry.npmjs.org"