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:
test:
stage: test
before_script:
- mkdir ./yarn
- npm install --prefix ./yarn yarn
- $(mkdir ./yarn && cd ./yarn && npm install yarn)
- ./yarn/node_modules/.bin/yarn install --ignore-engines
script:
- ./yarn/node_modules/.bin/yarn prettier:check
......@@ -23,8 +22,7 @@ test:
build:
stage: build
before_script:
- mkdir ./yarn
- npm install --prefix ./yarn yarn
- $(mkdir ./yarn && cd ./yarn && npm install yarn)
- ./yarn/node_modules/.bin/yarn install --frozen-lockfile --ignore-engines
script:
- ./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