Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
firofame committed Jun 8, 2023
1 parent b1e26d6 commit 52ecbd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 52ecbd8

Please sign in to comment.