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

also install nodejs
---

diff --git a/.drone.yml b/.drone.yml
index fdb4e995..e68942f7 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -41,6 +41,10 @@ steps:
     commands:
       - cargo install diesel_cli --no-default-features --features postgres
       - mv /root/.cargo/bin/diesel /dieselcli/diesel
+    # just to disable this temporarily
+    when:
+      ref:
+        - refs/tags/*
 
   - name: cargo test
     image: ekidd/rust-musl-builder:experimental-stable
@@ -85,7 +89,7 @@ steps:
       - 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
+      - apt-get -y install --no-install-recommends yarn nodejs
       - mkdir -p volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
       - chown -R 991:991 volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
       - LEMMY_PORT=8541 cargo run &