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

cd into yarn for install

parent c034a68e
Pipeline #438 failed with stages
in 10 seconds
...@@ -12,8 +12,7 @@ stages: ...@@ -12,8 +12,7 @@ stages:
test: test:
stage: test stage: test
before_script: before_script:
- mkdir ./yarn - $(mkdir ./yarn && cd ./yarn && npm install yarn)
- npm install --prefix ./yarn yarn
- ./yarn/node_modules/.bin/yarn install --ignore-engines - ./yarn/node_modules/.bin/yarn install --ignore-engines
script: script:
- ./yarn/node_modules/.bin/yarn prettier:check - ./yarn/node_modules/.bin/yarn prettier:check
...@@ -23,8 +22,7 @@ test: ...@@ -23,8 +22,7 @@ test:
build: build:
stage: build stage: build
before_script: before_script:
- mkdir ./yarn - $(mkdir ./yarn && cd ./yarn && npm install yarn)
- npm install --prefix ./yarn yarn
- ./yarn/node_modules/.bin/yarn install --frozen-lockfile --ignore-engines - ./yarn/node_modules/.bin/yarn install --frozen-lockfile --ignore-engines
script: script:
- ./yarn/node_modules/.bin/yarn tsc - ./yarn/node_modules/.bin/yarn tsc
......
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