-2

I am creating a Jenkins pipeline to build an AngularJS project in an air-gapped environment. For this purpose, I would like to push the required dependencies to the GitLab package registry. Is it possible to do that, or are there any other options available to resolve the required dependencies in an air-gapped environment?

rd17
  • 1
  • 1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Jul 19 '23 at 02:06

1 Answers1

-1

you can publish and consume npm packages directly from GitLab's package registry

by adding the registry URL to your .npmrc file.

npm config set registry https://gitlab.example.com/api/v4/packages/npm/