Use actions/setup-node instead of nvm

Even though it should be installed, I was getting
nvm: command not found
in the CI logs.
This commit is contained in:
John J. Camilleri
2021-10-18 14:47:37 +02:00
parent 0b13d04ac4
commit ad3489f0f9

View File

@@ -96,9 +96,9 @@ jobs:
sudo mv include/* /usr/local/include/
- name: Setup Node.js
run: |
nvm install 12
nvm use 12
uses: actions/setup-node@v2
with:
node-version: '12'
- name: Install dependencies
working-directory: ./src/runtime/javascript
@@ -209,9 +209,9 @@ jobs:
sudo mv include/* /usr/local/include/
- name: Setup Node.js
run: |
nvm install 12
nvm use 12
uses: actions/setup-node@v2
with:
node-version: '12'
- name: Install dependencies
working-directory: ./src/runtime/javascript