From aba68b09b85ce253ba4366c3236428bc8b9bf161 Mon Sep 17 00:00:00 2001 From: Flori <39242991+bitfl0wer@users.noreply.github.com> Date: Sat, 15 Apr 2023 17:47:24 +0200 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f66e49a..39b19fe 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,23 +15,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Node.js - run: | - curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - - sudo apt-get install -y nodejs + - uses: actions/checkout@v3 - name: Install dependencies run: | sudo apt-get update sudo apt-get install -y git python3 build-essential - git clone https://github.com/polyphony-chat/spacebarchat-server.git + curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - + sudo apt-get install -y nodejs + git clone https://github.com/polyphony-chat/spacebarchat-server.git - name: Prepare and start spacebarchat-server run: | npm install npm run setup npm run start & echo $! > server_pid.txt - working-directory: ./server + working-directory: ./spacebarchat-server - name: Build run: cargo build --verbose - name: Run tests