main-updated #167
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: 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 |