From 7020afbe84f3e32fae814b1d67a083d0d9b2f4a6 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Sat, 31 May 2025 13:22:17 +0300 Subject: [PATCH] chore: fin --- .github/workflows/create-pr-for-release-and-publish.yml | 1 - .github/workflows/publish-next.yml | 6 +----- package.json | 3 ++- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/create-pr-for-release-and-publish.yml b/.github/workflows/create-pr-for-release-and-publish.yml index 91a45d97..6257e172 100644 --- a/.github/workflows/create-pr-for-release-and-publish.yml +++ b/.github/workflows/create-pr-for-release-and-publish.yml @@ -82,7 +82,6 @@ jobs: with: cache: 'yarn' node-version-file: package.json - registry-url: https://registry.npmjs.org - name: Install Dependencies run: yarn diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml index f087efa9..6e8fe691 100644 --- a/.github/workflows/publish-next.yml +++ b/.github/workflows/publish-next.yml @@ -32,7 +32,6 @@ jobs: with: cache: 'yarn' node-version-file: package.json - registry-url: https://registry.npmjs.org - name: Install Dependencies run: yarn @@ -45,12 +44,9 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - - name: Set new version - run: | - yarn version $(jq --raw-output '.version' package.json)-next.$(git rev-parse --short HEAD).$(date +%s) - - name: Publish new @next version run: | + yarn version $(jq --raw-output '.version' package.json)-next.$(git rev-parse --short HEAD).$(date +%s) yarn npm publish --tag next env: YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} diff --git a/package.json b/package.json index e4f71c1f..2f1ffb78 100644 --- a/package.json +++ b/package.json @@ -159,7 +159,8 @@ }, "publishConfig": { "provenance": true, - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org" }, "repository": { "type": "git",