SBCOSS-480: Added GitHub Actions Workflow file to Publish to NPM#34
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds a GitHub Actions workflow to automate publishing the sb-styles package to NPM and updates the README with local development and build process instructions.
- Adds detailed instructions to the README for local development, PR builds, and release processes.
- Introduces a new GitHub Actions workflow file to manage tag pushes and publish to NPM.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Expanded documentation for build, test, and release processes |
| .github/workflows/on_push.yml | New workflow for creating tags on push and publishing to NPM |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
| run: | | ||
| echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc | ||
| npm publish project-sunbird-sb-styles-* --access=public |
There was a problem hiding this comment.
Using a wildcard in the npm publish command may lead to ambiguity if multiple matching tarball files exist. Consider capturing the tarball filename output from npm pack and explicitly using that filename for publication.
No description provided.