Skip to content

refactor(movies): migrate to use application builder SSR features #280

refactor(movies): migrate to use application builder SSR features

refactor(movies): migrate to use application builder SSR features #280

name: E2E Firebase Function on PR
on: pull_request
jobs:
emulate_firebase_function_and_test:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: npm
- name: Install dependencies
run: npm ci
- name: Production build for static file hosting (client + prerender + function)
run: npm run nx run firebase-function:build:production
- name: User Flow
run: npm run nx run firebase-function:user-flow:production -- --format=md
#- name: Test firebase function emulation
# id: firebase-function-emulation
# uses: push-based/[email protected]
# with:
# verbose: on
# commentId: test-firebase-function--deploy-emulation
# onlyComments: on
# outPath: ./dist/user-flow/firebase-function
# rcPath: projects/firebase-function/.user-flowrc.json