fix(ci): correct npm install path for monorepo

This commit is contained in:
2025-11-20 06:17:59 +03:00
parent 6bca067c6b
commit 275e3f8d43
+8 -6
View File
@@ -27,14 +27,14 @@ jobs:
- name: Cache npm dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: web/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('web/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
working-directory: ./web
run: npm ci
run: npm install
- name: Run Linter
working-directory: ./web
@@ -68,15 +68,17 @@ jobs:
- name: Cache npm dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: web/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('web/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
working-directory: ./web
run: npm install
- name: Run npm audit
working-directory: ./web
continue-on-error: true
run: npm audit --audit-level=high