From a6bd923c42f33cc7604faa81bf6b514c7425a24c Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Tue, 8 Oct 2024 12:13:15 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20fix=20release=20(#7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 🤖 fix release --- .github/workflows/release.yml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03d3e56..5b59f2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,9 @@ jobs: - name: Build package run: yarn prepare + - name: Setup .npmrc (NPM) + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMJS_TOKEN }}" >> ~/.npmrc + - name: Release run: yarn release env: diff --git a/package.json b/package.json index 9b88394..dbf4dfe 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ }, "homepage": "https://github.com/LottieFiles/dotlottie-react-native#readme", "publishConfig": { - "registry": "https://registry.npmjs.org/" + "access": "public" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2",