Skip to content

Commit

Permalink
chore(node): update nodejs installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruzina committed Oct 10, 2023
1 parent 5b1f6bb commit b27060d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ typings/

# next.js build output
.next


.idea/
6 changes: 3 additions & 3 deletions deploy/linux/roles/prepare/tasks/installNodeJs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---

- name: reference nodesource on version 16
shell: 'curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -'
- name: download nodejs rpm
shell: 'yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y'
become: yes

- name: install nodejs from nodesource
shell: 'yum install nodejs --enablerepo=nodesource -y'
shell: 'yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1'
become: yes

- name: install build essentials for native modules
Expand Down

0 comments on commit b27060d

Please sign in to comment.