Update .gitlab-ci.yml file
This commit is contained in:
+3
-3
@@ -30,15 +30,15 @@ workflow:
|
|||||||
stage: Test Stage
|
stage: Test Stage
|
||||||
image: node:alpine
|
image: node:alpine
|
||||||
variables:
|
variables:
|
||||||
npm_config_cache: "$CI_PROJECT_DIR/.npm"
|
npm_config_cache: "$CI_PROJECT_DIR/.npm-cache"
|
||||||
cache:
|
cache:
|
||||||
key:
|
key:
|
||||||
files:
|
files:
|
||||||
- frontend/package-lock.json
|
- frontend/package-lock.json
|
||||||
paths:
|
paths:
|
||||||
- frontend/.npm
|
- .npm-cache
|
||||||
- frontend/node_modules
|
- frontend/node_modules
|
||||||
script:
|
script:
|
||||||
- cd frontend
|
- cd frontend
|
||||||
- npm ci --cache .npm --prefer-offline
|
- npm ci --prefer-offline
|
||||||
- npm test -- run --exclude "**/*.live.test.ts"
|
- npm test -- run --exclude "**/*.live.test.ts"
|
||||||
|
|||||||
Reference in New Issue
Block a user