Fix CI: install root deps in frontend test job for cross-directory backend imports
This commit is contained in:
@@ -109,6 +109,7 @@ test-backend:
|
|||||||
test-frontend:
|
test-frontend:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- npm ci --prefer-offline
|
||||||
- cd frontend && npm ci --prefer-offline && CI=true npx react-scripts test --watchAll=false --ci
|
- cd frontend && npm ci --prefer-offline && CI=true npx react-scripts test --watchAll=false --ci
|
||||||
timeout: 5 minutes
|
timeout: 5 minutes
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
Reference in New Issue
Block a user