diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-17 17:45:29 +0300 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-18 13:03:00 +0300 |
commit | 16ba2940657973d67877500b283f02b471c812d4 (patch) | |
tree | dbfdc1097800c4a311ccc28712c21f65c3aa1b01 /.github/workflows | |
parent | a7eefa293e4735ab9f249f9d12ced3e70823da35 (diff) |
Migrate to npm 7 for autotest-js.sh
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/node-tests.yml | 10 |
1 files changed, 4 insertions, 6 deletions
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 |