Generated by Spark: I did some reasearch - we can remove --legacy-peer-deps by using stuff like "overrides": {

"some-package": {
    "react": "^18.2.0"
  }
}
This commit is contained in:
2026-01-17 13:32:33 +00:00
committed by GitHub
parent 0277dad468
commit 66bd3f3e42
8 changed files with 604 additions and 10 deletions

View File

@@ -26,10 +26,10 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm install --workspaces --legacy-peer-deps
run: npm ci
- name: Run ESLint
run: npm run lint --if-present || echo "No lint script found"
run: npm run lint:check
- name: Type check
run: npx tsc --noEmit
@@ -47,7 +47,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm install --workspaces --legacy-peer-deps
run: npm ci
- name: Run unit tests
run: npm test --if-present || echo "No test script found"
@@ -75,7 +75,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm install --workspaces --legacy-peer-deps
run: npm ci
- name: Prepare build directories
run: |
@@ -115,7 +115,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm install --workspaces --legacy-peer-deps
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
@@ -154,7 +154,7 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm install --workspaces --legacy-peer-deps
run: npm ci
- name: Run npm audit
run: npm audit --audit-level=moderate || true