

Calculation of Metadata for npm packages hosted in Artifactory's local repositories.The ability to provision npm packages from Artifactory to the npm command line tool from all repository types.Aggregating multiple npm registries under a virtual repository Artifactory provides access to all your npm packages through a single URL for both upload and download.Īs a fully-fledged npm registry on top of its capabilities for advanced artifact management, Artifactory's support for You can publish your package to multiple registries with a single workflow, trigger the workflow to run on different events such as a merged pull request, manage containers, and more.Ĭombining GitHub Packages and GitHub Actions can help you automate nearly every aspect of your application development processes.Artifactory provides full support for managing npm packages and ensures optimal and reliable access to. But this is only the beginning of what you can do with GitHub Packages. The basic workflow you just added runs any time a new release is created in your repository. For more information, see " Working with the npm registry." Next steps


Now that you've published the package, you'll want to use it as a dependency across your projects. To the right of the list of files, click Packages.Ĭlick the name of the package that you want to view. On, navigate to the main page of the repository. You can view all of the packages you have published. For more information, see " Managing releases in a repository." To test this out, navigate to the Code tab in your repository and create a new release. If the tests pass, then the package will be published to GitHub Packages. The workflow that you created will run whenever a new release is created in your repository. $ git commit -m "workflow to publish package" # Also add the file you created or edited in the previous step. "publishConfig": YOUR-USERNAME:registry": ""Ĭommit and push your changes to GitHub. npmrc file in the root directory with the Edit the package.json file and specify the publishConfig key:
