diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index c30762e..19ba703 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -12,18 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Open frontend directory + - name: Install dependencies and build working-directory: frontend run: | - ls -la - - # Install dependencies - - name: Install dependencies - run: npm install - - # Build the project - - name: Build - run: npm run build + npm install && npm run build # Deploy to Firebase Hosting - name: Deploy to Firebase Hosting