Skip to content

Commit

Permalink
ci: fix dist output
Browse files Browse the repository at this point in the history
  • Loading branch information
ZL-Asica committed Nov 1, 2024
1 parent bdda251 commit d027024
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/firebase-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
build:
name: 🧱 Build and Test
name: 🧪 Test before Build
runs-on: ubuntu-latest

steps:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d027024

Please sign in to comment.