fix: use npm install --ignore-scripts in CI to avoid permission issues
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
||||
run: nix develop --command bash -c "cd backend && ruff format --check app/"
|
||||
|
||||
- name: Frontend - Install deps
|
||||
run: nix develop --command bash -c "cd frontend && npm install"
|
||||
run: nix develop --command bash -c "cd frontend && npm install --ignore-scripts"
|
||||
|
||||
- name: Frontend - ESLint
|
||||
run: nix develop --command bash -c "cd frontend && npm run lint"
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
"
|
||||
|
||||
- name: Frontend - Install deps
|
||||
run: nix develop --command bash -c "cd frontend && npm install"
|
||||
run: nix develop --command bash -c "cd frontend && npm install --ignore-scripts"
|
||||
|
||||
- name: Frontend unit tests
|
||||
run: nix develop --command bash -c "cd frontend && npm run test:coverage"
|
||||
|
||||
Reference in New Issue
Block a user