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: ...@@ -10,7 +10,7 @@ stages:
test: test:
stage: test stage: test
before_script: 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 - ./yarn/node_modules/.bin/yarn install
script: script:
- ./yarn/node_modules/.bin/yarn prettier:check - ./yarn/node_modules/.bin/yarn prettier:check
...@@ -20,7 +20,7 @@ test: ...@@ -20,7 +20,7 @@ test:
build: build:
stage: build stage: build
before_script: 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 - ./yarn/node_modules/.bin/yarn install --frozen-lockfile
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