Skip to content

Commit

Permalink
build: update deprecated npm command to set path
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Nov 13, 2024
1 parent 88a52fc commit 75890ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playbooks/roles/learner_portal/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

# we need to do this so that npm can find a node install to use to build node-sass
- name: prepend node path
shell: "{{ learner_portal_nodeenv_bin }}/npm config set scripts-prepend-node-path true"
shell: "export PATH={{ learner_portal_nodeenv_bin }}:$PATH"
environment: "{{ learner_portal_env_vars }}"
become_user: "{{ learner_portal_user }}"
tags:
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/program_console/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

#we need to do this so that npm can find a node install to use to build node-sass
- name: prepend node path
shell: "{{ program_console_nodeenv_bin }}/npm config set scripts-prepend-node-path true"
shell: "export PATH={{ program_console_nodeenv_bin }}:$PATH"
environment: "{{ program_console_env_vars }}"
become_user: "{{ program_console_user }}"
tags:
Expand Down

0 comments on commit 75890ba

Please sign in to comment.