@contentpass/react-native-contentpass 0.3.7 → 0.3.9

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.
@@ -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 tasks like bumping version based on semver, creating tags and releases etc.
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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentpass/react-native-contentpass",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "description": "Contentpass React Native SDK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",