@contentpass/react-native-contentpass 0.3.6 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/CONTRIBUTING.md +12 -1
- package/package.json +1 -1
package/docs/CONTRIBUTING.md
CHANGED
|
@@ -144,7 +144,8 @@ Our pre-commit hooks verify that the linter and tests pass when committing.
|
|
|
144
144
|
|
|
145
145
|
### Publishing to npm
|
|
146
146
|
|
|
147
|
-
We use [release-it](https://github.com/release-it/release-it) to make it easier to publish new versions. It handles common
|
|
147
|
+
We use [release-it](https://github.com/release-it/release-it) to make it easier to publish new versions. It handles common
|
|
148
|
+
tasks like bumping version based on semver, creating tags and releases etc.
|
|
148
149
|
|
|
149
150
|
To publish new versions, run the following:
|
|
150
151
|
|
|
@@ -152,6 +153,16 @@ To publish new versions, run the following:
|
|
|
152
153
|
yarn release
|
|
153
154
|
```
|
|
154
155
|
|
|
156
|
+
#### Publishing the Package to npm using GitHub Actions
|
|
157
|
+
You can use GitHub Actions to automate the process of publishing the package to npm. Follow these steps:
|
|
158
|
+
1. Navigate to [release workflow](https://github.com/contentpass/react-native-contentpass/actions/workflows/release.yml) on GitHub.
|
|
159
|
+
2. Run the workflow manually:
|
|
160
|
+
- Click on the `Run workflow` button.
|
|
161
|
+
- Select the `main` branch.
|
|
162
|
+
- Confirm and execute the workflow.
|
|
163
|
+
|
|
164
|
+
This process will handle the publication of the package to npm using the configurations defined in the workflow.
|
|
165
|
+
|
|
155
166
|
### Sending a pull request
|
|
156
167
|
|
|
157
168
|
> **Working on your first pull request?** You can learn how from this _free_ series: [How to Contribute to an Open Source Project on GitHub](https://app.egghead.io/playlists/how-to-contribute-to-an-open-source-project-on-github).
|