Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-17 17:45:29 +0300
committerLouis Chemineau <louis@chmn.me>2022-01-18 13:03:00 +0300
commit16ba2940657973d67877500b283f02b471c812d4 (patch)
treedbfdc1097800c4a311ccc28712c21f65c3aa1b01 /.github
parenta7eefa293e4735ab9f249f9d12ced3e70823da35 (diff)
Migrate to npm 7 for autotest-js.sh
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/node-tests.yml10
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