Unverified Commit d8d4c8f6 authored by Florent Chehab's avatar Florent Chehab
Browse files

feat(ci): a bit more performant

parent b8de0428
......@@ -38,7 +38,7 @@ check_front:
stage: check
image: registry.gitlab.utc.fr/rex-dri/rex-dri/frontend:v2.0.0
before_script:
- cd frontend && cp -R /usr/src/deps/node_modules .
- cd frontend && mkdir -p node_modules && mv -f /usr/src/deps/node_modules/* /usr/src/deps/node_modules/.bin ./node_modules/
script:
- yarn build
artifacts:
......@@ -80,7 +80,7 @@ test_frontend:
stage: test
image: registry.gitlab.utc.fr/rex-dri/rex-dri/frontend:v2.0.0
before_script:
- cd frontend && cp -R /usr/src/deps/node_modules .
- cd frontend && mkdir -p node_modules && mv -f /usr/src/deps/node_modules/* /usr/src/deps/node_modules/.bin ./node_modules/
script:
- yarn test
tags:
......@@ -100,7 +100,7 @@ eslint:
stage: lint
image: registry.gitlab.utc.fr/rex-dri/rex-dri/frontend:v2.0.0
before_script:
- cd frontend && cp -R /usr/src/deps/node_modules .
- cd frontend && mkdir -p node_modules && mv -f /usr/src/deps/node_modules/* /usr/src/deps/node_modules/.bin ./node_modules/
script:
- yarn lint
tags:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment