Skip to content

main-updated

main-updated #42

Workflow file for this run

name: Vercel Edge
on:
push:
repository_dispatch:
types: [main-updated]
jobs:
test:
name: Test Vercel Edge
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install pnpm Dependencies
run: pnpm install && pnpm upgrade "@builder.io/qwik" "@builder.io/qwik-city"
- name: Deploy to Vercel Edge
run: pnpm run deploy.vercel --token=${{ secrets.VERCEL_QWIK_CITY_E2E_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_EDGE_PROJECT_ID }}
- name: Install Playwright
run: npx playwright install chromium --with-deps
- name: Test Vercel Edge MPA
run: pnpm run test.vercel-edge.mpa
- name: Test Vercel Edge SPA
run: pnpm run test.vercel-edge.spa