Skip to content

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

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

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

name: E2E Cloudflare Pages Preview Channel on PR
on: pull_request
jobs:
build_and_cloudflare_preview:
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 only)
run: npm run nx run cloudflare-worker:user-flow:production -- --format=md
# use preview deployment
- name: Test cloudflare preview pages hosting
id: cloudflare-preview-pages-hosting
uses: push-based/[email protected]
with:
verbose: on
commentId: cloudflare-preview-pages-hosting
onlyComments: on
outPath: ./dist/user-flow/cloudflare-worker
rcPath: projects/cloudflare-worker/.user-flowrc.action-hack.json