Commit 18ddd4b9 authored by Addshore's avatar Addshore 🏄
Browse files

Also npm init for yarn install...

parent f596c54d
Pipeline #440 failed with stages
in 5 minutes and 32 seconds
......@@ -10,7 +10,7 @@ stages:
test:
stage: test
before_script:
- $(mkdir ./yarn && cd ./yarn && npm install yarn) || true
- $(mkdir ./yarn && cd ./yarn && npm init --force && npm install yarn --force ) || true
- ./yarn/node_modules/.bin/yarn install
script:
- ./yarn/node_modules/.bin/yarn prettier:check
......@@ -20,7 +20,7 @@ test:
build:
stage: build
before_script:
- $(mkdir ./yarn && cd ./yarn && npm install yarn) || true
- $(mkdir ./yarn && cd ./yarn && npm init --force && npm install yarn --force ) || true
- ./yarn/node_modules/.bin/yarn install --frozen-lockfile
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