From d26e2bfccb1b07ff06a90e923273bef6559137df Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Tue, 30 Jul 2024 13:26:52 +0530 Subject: [PATCH] (ci/cd): added steps to minify tailwindcss while deploying to production --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ba6f64..78a583e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,15 @@ jobs: steps: - name: 🚚 Get latest code uses: actions/checkout@v3 + + - name: 📦 Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: 🛠️ Run Build Process + run: | + npx tailwindcss -o "./htdocs/assets/style.css" --minify - name: 📦 Update Database run: |