@@ -27,22 +27,22 @@ This guide will help you set up automated testing, building, and publishing for
2727
2828## Step 3: Verify GitHub Actions Workflows
2929
30- The following workflows are already configured:
30+ The following workflows are configured:
3131
3232### ` ci.yml ` - Continuous Integration
33- - ** Triggers** : Push to main, pull requests, version tags
33+ - ** Triggers** : Push to main, pull requests, version tags (excludes example directory)
3434- ** Actions** : Runs tests, linting, and builds
3535- ** Purpose** : Ensures code quality on every change
3636
3737### ` release.yml ` - Automated Releases
38- - ** Triggers** : Version tags (e.g., ` v1.0.0 ` )
38+ - ** Triggers** : Version tags (e.g., ` v1.0.0 ` ) (excludes example directory)
3939- ** Actions** : Publishes to npm, creates GitHub release
4040- ** Purpose** : Automated package publishing
4141
42- ### ` example.yml ` - Example Build
43- - ** Triggers ** : Changes to example directory
44- - ** Actions ** : Builds the example application
45- - ** Purpose ** : Ensures example code works
42+ ### Important Notes
43+ - ** Example directory changes do NOT trigger pipelines ** - The example is for demonstration only
44+ - ** Only changes to the main library code ** will trigger CI/CD workflows
45+ - ** Version tags trigger releases ** regardless of what files changed
4646
4747## Step 4: Test the Setup
4848
@@ -115,6 +115,11 @@ git push origin vX.Y.Z
115115- Verify all dependencies are installed
116116- Check for missing files in the build
117117
118+ ** "Pipeline not triggering"**
119+ - Ensure you're not only changing files in the ` example/ ` directory
120+ - Check that your changes are in the ` lib/ ` directory or root files
121+ - Verify you're pushing to the main branch
122+
118123### Getting Help
119124
1201251 . Check the GitHub Actions logs for detailed error messages
@@ -129,6 +134,7 @@ git push origin vX.Y.Z
1291343 . ** Write good commit messages** for better release notes
1301354 . ** Review the generated release notes** before publishing
1311365 . ** Test the published package** in a new project
137+ 6 . ** Keep example changes separate** from library changes
132138
133139## Security Notes
134140
0 commit comments