Skip to content

Commit

Permalink
chore: Update Node.js version to 16 and deploy to Firebase Hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshwar777 committed May 21, 2024
1 parent bcefdc3 commit 9e42f87
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# Use Node.js 16 or later
- uses: actions/setup-node@v3
with:
node-version: 16

# Install dependencies and build the project
- run: npm install --legacy-peer-deps && npm run build

# Print environment variables to debug
- name: Print env variables
run: |
echo $VITE_APP_FIREBASE_API_KEY
echo $VITE_APP_AUTH_DOMAIN
echo $VITE_APP_FIREBASE_PROJECT_ID
echo $VITE_APP_FIREBASE_STORAGE_BUCKET
echo $VITE_APP_FIREBASE_MESSAGING_SENDER_ID
echo $VITE_APP_FIREBASE_APP_ID
echo $VITE_APP_FIREBASE_MEASUREMENTID
# Deploy to Firebase Hosting
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9e42f87

Please sign in to comment.