Commit be7f9167 authored by Sam Galson's avatar Sam Galson

cd to home on tests

parent 5d748118
......@@ -28,12 +28,20 @@ build:
lint:
image: $DOCKERHUB_USERNAME/$IMAGE_NAME:$CI_COMMIT_SHA
stage: test
script: npm run lint
variables:
GIT_STRATEGY: none
script:
- cd ${HOME}
- npm run lint
test:
image: $DOCKERHUB_USERNAME/$IMAGE_NAME:$CI_COMMIT_SHA
stage: test
script: npm run test
variables:
GIT_STRATEGY: none
script:
- cd ${HOME}
- npm run test
# -----------------------------------------------
# xpub-collabra ---------------------------------
......
......@@ -19,7 +19,7 @@ RUN git config --global user.email "test@testing.com" && \
WORKDIR ${HOME}
COPY package.json yarn.lock lerna.json ./
COPY package.json yarn.lock lerna.json .eslintignore .eslintrc .prettierrc .stylelintignore .stylelintrc ./
COPY packages packages
RUN [ "yarn", "config", "set", "workspaces-experimental", "true" ]
......
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