diff options
author | Anna Larch <anna@nextcloud.com> | 2022-10-13 14:41:41 +0300 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2022-10-13 14:41:41 +0300 |
commit | a88c6d177c0b9b928d945c86918b682cb2d8ae2c (patch) | |
tree | a37d09a2078613bc141bcc9c7575ffe06f28a862 /.github | |
parent | b307d3911782faf0625dd545318c260f4d90b95c (diff) |
Run npm 7 for node 14 onlychore/run-npm-7-for-node-14
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 10 | ||||
-rw-r--r-- | .github/workflows/npm-test.yml | 10 |
2 files changed, 14 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 106bd9fc..1a689a48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,11 @@ jobs: strategy: matrix: - node-version: [14, 16, 18] + node-version: [16, 18] + npm-version: [8] + include: + - node-version: 14 + npm-version: 7 name: node${{ matrix.node-version }} @@ -24,8 +28,8 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Set up npm 8 - run: npm i -g npm@8 + - name: Set up npm ${{ matrix.npm-version }} + run: npm i -g npm@${{ matrix.npm-version }} - name: Install dependencies run: npm ci diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index af5e51f1..7bca1526 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -12,7 +12,11 @@ jobs: strategy: matrix: - node-version: [14, 16, 18] + node-version: [16, 18] + npm-version: [8] + include: + - node-version: 14 + npm-version: 7 name: node${{ matrix.node-version }} @@ -24,8 +28,8 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Set up npm 8 - run: npm i -g npm@8 + - name: Set up npm ${{ matrix.npm-version }} + run: npm i -g npm@${{ matrix.npm-version }} - name: Install dependencies run: npm ci |