From d027024e5ace88663a6e90c601d3fde634ac26d2 Mon Sep 17 00:00:00 2001 From: ZL Asica <40444637+ZL-Asica@users.noreply.github.com> Date: Thu, 31 Oct 2024 19:18:44 -0500 Subject: [PATCH] ci: fix dist output --- .github/workflows/firebase-deploy.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firebase-deploy.yml b/.github/workflows/firebase-deploy.yml index 49d37c6..74630d0 100644 --- a/.github/workflows/firebase-deploy.yml +++ b/.github/workflows/firebase-deploy.yml @@ -20,7 +20,7 @@ concurrency: jobs: build: - name: ๐Ÿงฑ Build and Test + name: ๐Ÿงช Test before Build runs-on: ubuntu-latest steps: @@ -39,9 +39,6 @@ jobs: - name: ๐Ÿงช Run Tests with Vitest run: npm run test:ci - - name: ๐Ÿ”จ Build Project - run: npm run build - deploy: name: ๐Ÿš€ Deploy to Firebase needs: build # Only run this job if the build job is successful @@ -55,6 +52,13 @@ jobs: uses: actions/setup-node@v4 with: node-version: 'lts/*' + cache: 'npm' + + - name: ๐Ÿ“‚ Install Packages + run: npm ci + + - name: ๐Ÿงฑ Build + run: npm run build - name: ๐ŸŒ Install Firebase Tools run: npm install -g firebase-tools