Skip to content

build(deps): bump @testing-library/jest-dom from 5.17.0 to 6.4.2 in /frontend #71

build(deps): bump @testing-library/jest-dom from 5.17.0 to 6.4.2 in /frontend

build(deps): bump @testing-library/jest-dom from 5.17.0 to 6.4.2 in /frontend #71

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy Frontend - PR Preview
on: pull_request
jobs:
build_and_preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v3
# Use dev environment so the preview uses the dev server
- run: npm ci && npx env-cmd -f .env.dev npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_SECRET_HITLER_ONLINE }}"
projectId: secret-hitler-online
# no channelId, so deploys to a preview channel
entryPoint: ./frontend