also install nodejs

pull/1335/head
Felix Ableitner 2020-12-10 17:37:00 +01:00
parent 9793a0e521
commit 56bea54536
1 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@ steps:
commands: commands:
- cargo install diesel_cli --no-default-features --features postgres - cargo install diesel_cli --no-default-features --features postgres
- mv /root/.cargo/bin/diesel /dieselcli/diesel - mv /root/.cargo/bin/diesel /dieselcli/diesel
# just to disable this temporarily
when:
ref:
- refs/tags/*
- name: cargo test - name: cargo test
image: ekidd/rust-musl-builder:experimental-stable 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 - - 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 - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update - 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} - mkdir -p volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
- chown -R 991:991 volumes/pictrs_{alpha,beta,gamma,delta,epsilon} - chown -R 991:991 volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
- LEMMY_PORT=8541 cargo run & - LEMMY_PORT=8541 cargo run &