Skip to content

[Snyk] Upgrade firebase from 9.8.1 to 9.23.0 #1

[Snyk] Upgrade firebase from 9.8.1 to 9.23.0

[Snyk] Upgrade firebase from 9.8.1 to 9.23.0 #1

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cd server && npm ci && npm test && echo "Testing server"
- run: npm ci && npm run build
env:
FIREBASE_API_KEY: ${{ secrets._FIREBASE_API_KEY }}
FIREBASE_AUTH_DOMAIN: ${{ secrets._FIREBASE_AUTH_DOMAIN }}
FIREBASE_DATABASE_URL: ${{ secrets._FIREBASE_DATABASE_URL }}
FIREBASE_PROJECT_ID: ${{ secrets._FIREBASE_PROJECT_ID }}
FIREBASE_STORAGE_BUCKET: ${{ secrets._FIREBASE_STORAGE_BUCKET }}
FIREBASE_MESSAGING_SENDER_ID: ${{ secrets._FIREBASE_MESSAGING_SENDER_ID }}
FIREBASE_APP_ID: ${{ secrets._FIREBASE_APP_ID }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SKRUBBL_E91CF }}'
projectId: skrubbl-e91cf