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",