diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 4b9bb5c..150dc75 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -17,6 +17,15 @@ jobs: runs-on: ubuntu-latest steps: + - name: Install Dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg + curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /tmp/nodesource.gpg + echo "deb [signed-by=/tmp/nodesource.gpg] https://deb.nodesource.com/node_16.x $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/nodesource.list + sudo apt-get update + sudo apt-get install -y nodejs npm + - name: Checkout uses: actions/checkout@v3 @@ -27,15 +36,6 @@ jobs: target: $CARGO_TARGET override: true - - name: Install Dependencies - run: | - sudo apt-get update -qq - sudo apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg - curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /tmp/nodesource.gpg - echo "deb [signed-by=/tmp/nodesource.gpg] https://deb.nodesource.com/node_16.x $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/nodesource.list - sudo apt-get update - sudo apt-get install -y nodejs npm - - name: Run Test DB Script run: ./test_db.sh