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:
test:
stage: test
before_script:
- npm install --global yarn
- yarn install --ignore-engines
- mkdir ~/yarn
- npm install --prefix ~/yarn yarn
- ~/yarn/node_modules/.bin/yarn install --ignore-engines
script:
- yarn prettier:check
- yarn lint:all
- yarn test:all
- ~/yarn/node_modules/.bin/yarn prettier:check
- ~/yarn/node_modules/.bin/yarn lint:all
- ~/yarn/node_modules/.bin/yarn test:all
build:
stage: build
before_script:
- npm install --global yarn
- yarn install --frozen-lockfile --ignore-engines
- mkdir ~/yarn
- npm install --prefix ~/yarn yarn
- ~/yarn/node_modules/.bin/yarn install --frozen-lockfile --ignore-engines
script:
- yarn tsc
- yarn build
- yarn test:all
- ~/yarn/node_modules/.bin/yarn tsc
- ~/yarn/node_modules/.bin/yarn build
- ~/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