Skip to content
Snippets Groups Projects
Commit a0f4e979 authored by Rafael Dias's avatar Rafael Dias
Browse files

Issue #78: Add yarn


Signed-off-by: default avatarRafael <rpd17@inf.ufpr.br>
parent b6151cd2
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -23,12 +23,12 @@ stages:
run_tests:
stage: test
before_script:
- npm install --silent
- yarn install
script:
- mv config/ci_test.yaml.example config/test.yaml
- mv config/ci_test.env.example config/test.env
- npm test
- npm run lint
- yarn test
- yarn run lint
tags:
- node
- postgres
......
......@@ -18,6 +18,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
# where available (npm@5+)
COPY package*.json $WORKSPACE
COPY yarn.lock $WORKSPACE
RUN \
chmod +x /tini &&\
chown -R node:node $WORKSPACE
......@@ -25,7 +26,7 @@ RUN \
USER node
WORKDIR $WORKSPACE
RUN npm install
RUN yarn install
# Bundle app source
# COPY copy files as root so chown must be used
......
yarn.lock 0 → 100644
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment