From 4844c9a7f5e7568ce39fdeab951c3c19a3e960c4 Mon Sep 17 00:00:00 2001 From: Poovamraj T T Date: Thu, 7 Dec 2023 16:31:43 +0100 Subject: [PATCH 1/3] Add registry url --- .github/actions/publish-package/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/publish-package/action.yml b/.github/actions/publish-package/action.yml index 5af8873f..ec00a382 100644 --- a/.github/actions/publish-package/action.yml +++ b/.github/actions/publish-package/action.yml @@ -18,6 +18,7 @@ runs: with: node-version: ${{ inputs.node-version }} cache: 'yarn' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies shell: bash From d86883b205cc373763cd825e8a4ca9ba56aa790a Mon Sep 17 00:00:00 2001 From: Poovamraj T T Date: Thu, 7 Dec 2023 16:34:01 +0100 Subject: [PATCH 2/3] Change yarn publish command --- .github/actions/publish-package/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/publish-package/action.yml b/.github/actions/publish-package/action.yml index ec00a382..01302957 100644 --- a/.github/actions/publish-package/action.yml +++ b/.github/actions/publish-package/action.yml @@ -25,7 +25,7 @@ runs: run: yarn install --frozen-lockfile - name: Publish release to NPM - run: yarn publish + run: yarn npm publish shell: bash env: NODE_AUTH_TOKEN: ${{ inputs.npm-token }} From d3314e30cdacb664e9c05b6c23266f34ab964f47 Mon Sep 17 00:00:00 2001 From: Poovamraj T T Date: Thu, 7 Dec 2023 16:38:33 +0100 Subject: [PATCH 3/3] Update action.yml --- .github/actions/publish-package/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/publish-package/action.yml b/.github/actions/publish-package/action.yml index 01302957..ec00a382 100644 --- a/.github/actions/publish-package/action.yml +++ b/.github/actions/publish-package/action.yml @@ -25,7 +25,7 @@ runs: run: yarn install --frozen-lockfile - name: Publish release to NPM - run: yarn npm publish + run: yarn publish shell: bash env: NODE_AUTH_TOKEN: ${{ inputs.npm-token }}