From 6fd53fe3996546292a8af775feb8ffbb0550035e Mon Sep 17 00:00:00 2001 From: Andrew Myers Date: Fri, 15 Jul 2022 13:24:56 -0400 Subject: [PATCH] Use setup-node action for installing node Replaces a shell command for installing node in order to get the proper version installed correctly. --- .github/workflows/ams-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ams-ci.yml b/.github/workflows/ams-ci.yml index 5154297d5..957de4a84 100644 --- a/.github/workflows/ams-ci.yml +++ b/.github/workflows/ams-ci.yml @@ -30,8 +30,12 @@ jobs: java-version: '11' - name: Install Node - shell: bash -l -eo pipefail {0} - run: nvm install 12.9.0 + uses: actions/setup-node@v3 + with: + node-version: 12.9.0 + + # shell: bash -l -eo pipefail {0} + # run: nvm install 12.9.0 - name: Install Chrome Browser run: google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &