-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1008 Bytes
/
Copy pathci.yml
File metadata and controls
45 lines (35 loc) · 1008 Bytes
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
41
42
43
44
45
name: CI
on:
pull_request:
push:
jobs:
validate:
runs-on: ubuntu-latest
env:
CONVEX_DEPLOYMENT: anonymous:anonymous-agent
NEXT_PUBLIC_CONVEX_URL: http://127.0.0.1:3210
NEXT_PUBLIC_WORKOS_REDIRECT_URI: http://localhost:3100/callback
WORKOS_API_KEY: sk_test_placeholder
WORKOS_CLIENT_ID: client_placeholder
WORKOS_COOKIE_PASSWORD: test_cookie_password_32_chars_long
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.18.3
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 20
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Chromium
run: pnpm exec playwright install --with-deps chromium
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Build
run: pnpm build
- name: Test
run: pnpm test