From 6f8cac8a95de883f50a7948090018b114258d08b Mon Sep 17 00:00:00 2001 From: qwer951123 Date: Tue, 16 Jul 2024 10:20:59 +0800 Subject: [PATCH] fix: fix publish config --- .github/workflows/publish.yml | 2 +- .yarnrc.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 89283390..61fba14f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,7 +51,7 @@ jobs: NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish @acala-network/sdk-payment - run: yarn workspace @acala-network/chopsticks-testing npm publish --tolerate-republish --access public ${{ env.NPM_TAG }} + run: yarn workspace @acala-network/sdk-payment npm publish --tolerate-republish --access public ${{ env.NPM_TAG }} env: NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.yarnrc.yml b/.yarnrc.yml index f5050a5e..ea08ffe5 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -4,4 +4,10 @@ enableProgressBars: true nodeLinker: node-modules +npmPublishAccess: public + +npmPublishRegistry: "https://registry.npmjs.org/" + +npmRegistryServer: "https://registry.npmjs.org/" + yarnPath: .yarn/releases/yarn-4.1.1.cjs