fix: add --legacy-peer-deps to npm install
[email protected].0 requires react@^16.5.1 || ^17.0.0 || ^18.0.0 Project uses [email protected], which is incompatible at the peer level. Use --legacy-peer-deps to allow the installation to proceed.
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: npm install --legacy-peer-deps
|
||||
|
||||
- name: Run tests
|
||||
run: npm test -- --run 2>&1 || echo "Tests completed"
|
||||
|
||||
Reference in New Issue
Block a user