Skip to content

Commit 8bb9003

Browse files
committed
chore: update installation instructions in readme and configure npm authentication
1 parent b8a59c0 commit 8bb9003

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ jobs:
3535
git config user.name "${GITHUB_ACTOR}"
3636
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
3737
38+
- name: Configure npm auth
39+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
40+
3841
- name: Release
3942
working-directory: package
4043
run: bun run release --ci --increment ${{ inputs.version }}
4144
env:
4245
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Benchmarked against [`react-native-version-check`](https://github.com/kimxogus/r
3535
## Installation
3636

3737
```sh
38-
npm i react-native-nitro-version-check react-native-nitro-modules
38+
bun add react-native-nitro-version-check react-native-nitro-modules
3939
```
4040

4141
For Expo projects, run prebuild:

0 commit comments

Comments
 (0)