refactor(movies): migrate to use application builder SSR features #271
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
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 |