From b281e8730441a3309a848b0fff4fc52e2f40f39b Mon Sep 17 00:00:00 2001 From: itsscb Date: Fri, 23 Aug 2024 16:24:22 +0200 Subject: [PATCH] rollback --- .github/workflows/deploy.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5d0f28b..6e4fe31 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,11 +19,10 @@ jobs: uses: actions/cache@v4 with: path: | + node_modules + ~/.cache/trunk ~/.cargo target/ - ~/.cache/trunk - node_modules - frontend/dist/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo-df @@ -45,19 +44,16 @@ jobs: node-version: 20 - name: Install Tailwind CSS - run: npm install -D tailwindcss - working-directory: ./frontend + run: npm install -g tailwindcss - name: Build Frontend working-directory: ./frontend run: | trunk build --release - - name: Build and Test backend run: | cargo build --verbose --release cargo test --verbose - deploy: runs-on: ubuntu-latest needs: build