From: Felix Ableitner <me@nutomic.com>
Date: Thu, 10 Dec 2020 16:33:23 +0000 (+0100)
Subject: install correct yarn package
X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/%24%7Bsubmission.url%7D?a=commitdiff_plain;h=9793a0e52129f256569049e62c77074bd6072cf9;p=lemmy.git

install correct yarn package
---

diff --git a/.drone.yml b/.drone.yml
index db4ca638..fdb4e995 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -82,7 +82,9 @@ steps:
       LEMMY_SETUP__ADMIN_USERNAME: lemmy_alpha
       LEMMY_SETUP__SITE_NAME: lemmy-alpha
     commands:
-      - apt-get -y update
+      - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
+      - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
+      - sudo apt-get update
       - apt-get -y install --no-install-recommends yarn
       - mkdir -p volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
       - chown -R 991:991 volumes/pictrs_{alpha,beta,gamma,delta,epsilon}