From 16ba2940657973d67877500b283f02b471c812d4 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Mon, 17 Jan 2022 15:45:29 +0100 Subject: Migrate to npm 7 for autotest-js.sh Signed-off-by: Louis Chemineau --- .github/workflows/node-tests.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index fbb280873d8..f5bc2bab05a 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -28,7 +28,7 @@ jobs: test: runs-on: ubuntu-latest needs: versions - + steps: - name: Checkout uses: actions/checkout@v2 @@ -60,10 +60,8 @@ jobs: with: node-version: ${{ needs.versions.outputs.nodeVersion }} - # This test requires npm6 for some reason - # TODO: fix this and/or move away from jsunit - - name: Set up npm 6 - run: npm i -g npm@^6 + - name: Set up npm ${{ needs.versions.outputs.npmVersion }} + run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}" - name: Test run: ./autotest-js.sh @@ -71,7 +69,7 @@ jobs: handlebars: runs-on: ubuntu-latest needs: versions - + steps: - name: Checkout uses: actions/checkout@v2 -- cgit v1.2.3