Skip to content

Commit

Permalink
Contributing update
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemilla committed Nov 3, 2022
1 parent f195c98 commit 6d1915e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,4 @@ jobs:
with:
bump_version_scheme: patch
tag_prefix: ""
release_name: "<RELEASE_VERSION>"
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
always-auth: true
- run: yarn
- uses: mmarchini-oss/npm-otp-publish@v0
with:
npm_token: ${{ secrets.NPM_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
github_actor: ${{ github.actor }}
release_name: "<RELEASE_VERSION>"
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,13 @@ check if your device is available under adb devices, run:
```sh
adb devices
```

## Pushing to NPM

Pushing to NPM requires manually running the command on your local machine. You must be an admin to perform this command.

If you are an admin, you can run:

```sh
npm publish
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trycourier/courier-react-native",
"version": "0.1.1",
"version": "1.0.0",
"description": "test",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 6d1915e

Please sign in to comment.