mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
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:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user