-
Notifications
You must be signed in to change notification settings - Fork 8
40 lines (31 loc) · 1012 Bytes
/
vercel-edge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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