diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 784fcf8..a32fd8f 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -51,6 +51,10 @@ jobs: components: ['frontend', 'backend'] steps: + - name: Setup Environment + run: | + apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg && mkdir -p /etc/apt/keyrings | curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install nodejs -y && apt-get install npm -y + - uses: actions/checkout@v3 - name: Use Cached Node Modules