Javascript is required

cicd-github-npm-registry

cicd-github-npm-registry GitHub रिपॉजिटरी का स्क्रीनशॉट
  • #

Template project for Lerna multi-package monorepo integrated with Github actions to push on a public npm package registry.

रेपो #807662859
लेखकLorenzo Rottigni
पर बनाया गया2024-05-29
पर अपडेट किया गया2024-05-29
पर धक्का दिया2024-05-29
आकार132 MB
मुख्य भाषा-
तारों की संख्या0
डिफ़ॉल्ट शाखाmain

मुझेपढ़ो.md

CI/CD GitHub NPM Registry Template

This is a template repository containing a basic integration between:

  • Github CI/CD
  • NPM (public/private) Package Registry
  • Github Repo
  • Lerna monorepo

Packages under the "packages" directory containing a valid package.json are automatically included in Lerna management.

CI/CD

The github workflow publish.yml will automatically handle the build, setup, versioning, and publishing of all packages.

It uses a patch versioning strategy to allow complete automation of the process.

The pipeline will automatically publish packages accordingly to the registry, and through an automated push, it updates version tags inside the Github repository.

It requires a few CI/CD custom variables:

  • NPM_ACCESS_TOKEN: Access token from NPM to allow the publishment of new packages
  • CICD_SSH_PRIVATE_KEY: Private key configured on Github to allow pushing versioning changes back to the repo.