1.0.1 • Published 3 years ago

@jacobbubu/gitlab-ci-npmrc v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@jacobbubu/gitlab-ci-npmrc

Used to generate .npmrc files in the gitlab ci pipeline.

Usage

in .gitlab-ci.yml:

  script:
    - |
      npx @jacobbubu/gitlab-ci-npmrc ./.npmrc

  artifacts:
    when: always
    paths:
      - .npmrc

@jacobbubu/gitlab-ci-npmrc will generate the url of the npm registry based on the namespace and project id of the current project, if the key already exists in .npmc, the value of the key will be preserved.

1.0.1

3 years ago

1.0.0

3 years ago