From 03fd5cad26481cc8122cbb485a1b45bf99a1c90a Mon Sep 17 00:00:00 2001 From: itsscb Date: Fri, 31 May 2024 23:44:33 +0200 Subject: [PATCH] fix/adds tailwindcss to gh action --- .github/workflows/deploy.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6a19811..97e3405 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,10 +17,17 @@ jobs: run: rustup target add wasm32-unknown-unknown # Build frontend + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Install Tailwind CSS + run: npm install -D tailwindcss + working-directory: ./frontend - name: Install trunk - run: cargo install --locked trunk + run: cargo install trunk - name: Build frontend - run: trunk build --release --public-url /${{ github.event.repository.name }} + run: trunk build --release --no-config working-directory: ./frontend # Deploy backend @@ -37,3 +44,4 @@ jobs: run: | cargo shuttle login --api-key $SHUTTLE_TOKEN cargo shuttle deploy +