Commit c034a68e authored by Addshore's avatar Addshore 🏄
Browse files

Don't use ~ for yarn install...

parent 93797e0c
Pipeline #437 failed with stages
in 9 seconds
......@@ -12,21 +12,21 @@ stages:
test:
stage: test
before_script:
- mkdir ~/yarn
- npm install --prefix ~/yarn yarn
- ~/yarn/node_modules/.bin/yarn install --ignore-engines
- mkdir ./yarn
- npm install --prefix ./yarn yarn
- ./yarn/node_modules/.bin/yarn install --ignore-engines
script:
- ~/yarn/node_modules/.bin/yarn prettier:check
- ~/yarn/node_modules/.bin/yarn lint:all
- ~/yarn/node_modules/.bin/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:
- mkdir ~/yarn
- npm install --prefix ~/yarn yarn
- ~/yarn/node_modules/.bin/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/node_modules/.bin/yarn tsc
- ~/yarn/node_modules/.bin/yarn build
- ~/yarn/node_modules/.bin/yarn test:all
- ./yarn/node_modules/.bin/yarn tsc
- ./yarn/node_modules/.bin/yarn build
- ./yarn/node_modules/.bin/yarn test:all
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