From ad3489f0f952040fb5b9d13a15e080a443e69e24 Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Mon, 18 Oct 2021 14:47:37 +0200 Subject: [PATCH] Use actions/setup-node instead of nvm Even though it should be installed, I was getting nvm: command not found in the CI logs. --- .github/workflows/build-majestic.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-majestic.yml b/.github/workflows/build-majestic.yml index fc0453c21..9e2cb838d 100644 --- a/.github/workflows/build-majestic.yml +++ b/.github/workflows/build-majestic.yml @@ -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