You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CONTRIBUTING.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,14 +144,25 @@ 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
151
152
```sh
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).
0 commit comments