diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd25faf..9ca715f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,9 @@ jobs: run: yarn prepack - name: Set deployment token - run: npm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" + run: echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" > ~/.npmrc + env: + NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - name: Publish NPM package run: npm publish diff --git a/package.json b/package.json index 24dd3f8..1093f71 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@firofame/react-native-compass-heading", + "name": "react-native-compass-heading", "version": "1.5.0", "description": "Listener to device's compass information.", "main": "lib/commonjs/index",