remove yarn
This commit is contained in:
parent
04659b9344
commit
ddd4970762
@ -8,7 +8,7 @@ stages:
|
||||
- triggerPagesVerify
|
||||
|
||||
before_script:
|
||||
- yarn global add npmci
|
||||
- npm install -g npmci
|
||||
- npmci docker login
|
||||
|
||||
buildTest:
|
||||
@ -55,7 +55,7 @@ pages:
|
||||
- 'npmci -v'
|
||||
image: hosttoday/ht-docker-node:npmci
|
||||
script:
|
||||
- npmci command yarn global add npmpage
|
||||
- npmci command npm install -g npmpage
|
||||
- npmci command npmpage
|
||||
only:
|
||||
- tags
|
||||
|
@ -23,10 +23,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
rsync \
|
||||
ssh \
|
||||
wget \
|
||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install yarn -y \
|
||||
&& apt-get clean \
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM hosttoday/ht-docker-node:stable
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
|
||||
RUN yarn global add @shipzone/npmci
|
||||
RUN npm install -g @shipzone/npmci
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM hosttoday/ht-docker-node:stable
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
|
||||
RUN yarn global add npmci npmdocker @gitzone/npmts ts-node
|
||||
RUN npm install -g npmci npmdocker @gitzone/npmts ts-node
|
@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
yarn -v
|
||||
npm -v
|
||||
|
@ -4,6 +4,6 @@ npmci -v
|
||||
# check if we can use lts
|
||||
npmci install lts
|
||||
|
||||
# check if yarn picks it up
|
||||
npmci command yarn global add npmts
|
||||
# check if npm picks it up
|
||||
npmci command npm install -g npmts
|
||||
npmci command npmts -v
|
||||
|
@ -1,3 +1,3 @@
|
||||
# test yarn
|
||||
yarn global add npmts
|
||||
# npm
|
||||
npm install -g npmts
|
||||
npmts -v
|
Loading…
Reference in New Issue
Block a user