Skip to content

Commit 476f001

Browse files
committed
feat: Added npmrc file for artifactory repo
1 parent 3d27674 commit 476f001

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
dest: /usr/local/bin/npx
2828
state: link
2929

30+
- name: Copy npmrc file
31+
become: true
32+
template:
33+
dest: "{{ nodejs_toolchain_npmrc_dest }}"
34+
src: npmrc.j2
35+
3036
- include_tasks: setup-Debian.yml
3137
when: ansible_os_family == "Debian"
3238

templates/npmrc.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/

0 commit comments

Comments
 (0)