Skip to content

Commit fcdf41a

Browse files
authored
Merge pull request #2226 from nextcloud/automated/noid/main-fix-npm-audit
[main] Fix npm audit
2 parents 6e44a58 + b9146db commit fcdf41a

3 files changed

Lines changed: 202 additions & 186 deletions

File tree

.github/workflows/cypress-component.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,18 @@ jobs:
2222
component-tests:
2323
runs-on: ubuntu-latest
2424

25-
strategy:
26-
fail-fast: false
27-
matrix:
28-
node-version: [20]
29-
3025
steps:
3126
- name: Checkout app
3227
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3328
with:
3429
persist-credentials: false
3530

36-
- name: Set up Node.js ${{ matrix.node-version }}
31+
- name: Set up node from version file
3732
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3833
with:
39-
node-version: ${{ matrix.node-version }}
4034
cache: 'npm'
4135
cache-dependency-path: package-lock.json
36+
node-version-file: 'package.json'
4237

4338
- name: Install dependencies
4439
run: npm ci

.github/workflows/cypress-custom.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
with:
9494
cache: 'npm'
9595
cache-dependency-path: apps/${{ env.APP_NAME}}/package-lock.json
96-
node-version-file: 'package.json'
96+
node-version-file: 'apps/${{ env.APP_NAME }}/package.json'
9797

9898
- name: Install dependencies & build app
9999
working-directory: apps/${{ env.APP_NAME }}

0 commit comments

Comments
 (0)