From 52ecbd8bcc45e6ae6cd2618641011daf30641979 Mon Sep 17 00:00:00 2001 From: Firoz Ahmed Date: Thu, 8 Jun 2023 20:42:21 +0530 Subject: [PATCH] update ci --- .github/workflows/ci.yml | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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",