]> Untitled Git - lemmy.git/commitdiff
install correct yarn package
authorFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 16:33:23 +0000 (17:33 +0100)
committerFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 16:33:23 +0000 (17:33 +0100)
.drone.yml

index db4ca63804a8d07ddd73977b91b3a09fb9cac44d..fdb4e99562bfcd43db9ed1e6f2fbd7d6594c2456 100644 (file)
@@ -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}