Building and Publishing React NPM Package 🔥 with Github Actions #03
How to Publish Private NPM Packages With Github Package Registry
Build and Publish Your Own NPM Package in 5 Minutes :)
In this playlist, we are talking about publishing different types of packages to GitHub
PlalyList Link
GitHub Link
https://github.com/tkssharma/publish-packages
🚀 Publish Node JS Utility Package to GitHub
🚀 Publish React JS Component Package to GitHub
🚀 Publish React JS Component and deploy using CI GitHub Actions to GitHub
🚀 Publish Nest JS Utility Package to GitHub
🚀 Publish Nest JS Dynamic Package to GitHub
🚀🚀 How to Publish Private NPM Packages With Github Package Registry
🚀🚀 Outline Video
00:00 Quick Recap for Publishing Package
01:40 Adding Github actions for publishing the NPM Package
02:50 Adding Github Workflows
03:50 Adding GithHub Secrets
04:50 Adding Publish YML for GitHub action
08:00 Running CI Pipeline
10:00 Publishing Package to GitHub using Actions
We'll begin by first making our modules repository private.
Publishing private NPM packages using GitHub Package Registry involves several steps to configure your package and authenticate with GitHub. Here's a step-by-step guide:
🚀🚀 Prerequisites
Node.js and npm: Make sure you have Node.js and npm installed.
GitHub Account: Ensure you have a GitHub account and a repository where you want to host the package.
Repository Permissions: Ensure you have the necessary permissions to publish to the GitHub repository.
🚀🚀We will follow these steps
- Create a GitHub Personal Access Token
- Authenticating With NPM Using the GitHub Registry
- Publish Your Package
- Using Your Private Package in Another Project
Comments