Skip to content

Commit 156f2f6

Browse files
committed
docs: describe publish workflow
1 parent e884ce3 commit 156f2f6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,14 @@ yarn test
4848
```
4949

5050
The tests simulate both TurboModule and `NativeModules` environments and assert that missing native bindings surface the helpful linking error.
51+
52+
## Continuous delivery
53+
54+
Merges to `develop` trigger the `Publish Package` GitHub Action, which:
55+
56+
- installs dependencies and runs the Jest suite
57+
- bumps the package version with `npm version patch`
58+
- publishes the build to GitHub Packages
59+
- pushes the updated version and tag back to `develop`
60+
61+
Before the workflow can publish, add a repository secret named `GITHUB_PACKAGES_TOKEN` that contains a GitHub personal access token with `write:packages` and `read:packages` scopes (include `delete:packages` if you expect to remove releases). The workflow injects this token into `npm publish` via the `NODE_AUTH_TOKEN` environment variable.

0 commit comments

Comments
 (0)