Commit 93797e0c authored by Addshore's avatar Addshore 🏄
Browse files

Install yarn in user directory

parent 33130b61
Pipeline #436 failed with stages
in 8 seconds
...@@ -12,19 +12,21 @@ stages: ...@@ -12,19 +12,21 @@ stages:
test: test:
stage: test stage: test
before_script: before_script:
- npm install --global yarn - mkdir ~/yarn
- yarn install --ignore-engines - npm install --prefix ~/yarn yarn
- ~/yarn/node_modules/.bin/yarn install --ignore-engines
script: script:
- yarn prettier:check - ~/yarn/node_modules/.bin/yarn prettier:check
- yarn lint:all - ~/yarn/node_modules/.bin/yarn lint:all
- yarn test:all - ~/yarn/node_modules/.bin/yarn test:all
build: build:
stage: build stage: build
before_script: before_script:
- npm install --global yarn - mkdir ~/yarn
- yarn install --frozen-lockfile --ignore-engines - npm install --prefix ~/yarn yarn
- ~/yarn/node_modules/.bin/yarn install --frozen-lockfile --ignore-engines
script: script:
- yarn tsc - ~/yarn/node_modules/.bin/yarn tsc
- yarn build - ~/yarn/node_modules/.bin/yarn build
- yarn test:all - ~/yarn/node_modules/.bin/yarn test:all
Supports Markdown
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