remove yarn

This commit is contained in:
Philipp Kunz 2018-05-27 13:18:17 +02:00
parent 04659b9344
commit ddd4970762
7 changed files with 9 additions and 12 deletions

View File

@ -8,7 +8,7 @@ stages:
- triggerPagesVerify - triggerPagesVerify
before_script: before_script:
- yarn global add npmci - npm install -g npmci
- npmci docker login - npmci docker login
buildTest: buildTest:
@ -55,7 +55,7 @@ pages:
- 'npmci -v' - 'npmci -v'
image: hosttoday/ht-docker-node:npmci image: hosttoday/ht-docker-node:npmci
script: script:
- npmci command yarn global add npmpage - npmci command npm install -g npmpage
- npmci command npmpage - npmci command npmpage
only: only:
- tags - tags

View File

@ -23,10 +23,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
rsync \ rsync \
ssh \ ssh \
wget \ 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 update \
&& apt-get install yarn -y \
&& apt-get clean \ && apt-get clean \
&& rm -r /var/lib/apt/lists/* && rm -r /var/lib/apt/lists/*

View File

@ -1,4 +1,4 @@
FROM hosttoday/ht-docker-node:stable FROM hosttoday/ht-docker-node:stable
LABEL author="Lossless GmbH <office@lossless.com>" LABEL author="Lossless GmbH <office@lossless.com>"
RUN yarn global add @shipzone/npmci RUN npm install -g @shipzone/npmci

View File

@ -1,4 +1,4 @@
FROM hosttoday/ht-docker-node:stable FROM hosttoday/ht-docker-node:stable
LABEL author="Lossless GmbH <office@lossless.com>" 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

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
yarn -v npm -v

View File

@ -4,6 +4,6 @@ npmci -v
# check if we can use lts # check if we can use lts
npmci install lts npmci install lts
# check if yarn picks it up # check if npm picks it up
npmci command yarn global add npmts npmci command npm install -g npmts
npmci command npmts -v npmci command npmts -v

View File

@ -1,3 +1,3 @@
# test yarn # npm
yarn global add npmts npm install -g npmts
npmts -v npmts -v