Reverted cache changes, fixed package artifacts
This commit is contained in:
parent
420fe10a9e
commit
6ba6c36151
@ -11,17 +11,16 @@ cache:
|
|||||||
- yarn.lock
|
- yarn.lock
|
||||||
- frontend/yarn.lock
|
- frontend/yarn.lock
|
||||||
paths:
|
paths:
|
||||||
|
- .yarn
|
||||||
- node_modules
|
- node_modules
|
||||||
|
- frontend/.yarn
|
||||||
- frontend/node_modules
|
- frontend/node_modules
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- >
|
- yarn install --cache-folder .yarn --frozen-lockfile
|
||||||
if [ ! -d "node_modules" ]; then
|
- cd frontend
|
||||||
yarn install
|
- yarn install --cache-folder .yarn --frozen-lockfile
|
||||||
cd frontend
|
- cd ..
|
||||||
yarn install
|
|
||||||
cd ..
|
|
||||||
fi
|
|
||||||
|
|
||||||
test_backend:
|
test_backend:
|
||||||
stage: test
|
stage: test
|
||||||
@ -78,4 +77,7 @@ package_server:
|
|||||||
- mv "$TMP/"* .
|
- mv "$TMP/"* .
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- .
|
- package.json
|
||||||
|
- server.js
|
||||||
|
- yarn.lock
|
||||||
|
- frontend/
|
||||||
|
Loading…
Reference in New Issue
Block a user