-
Notifications
You must be signed in to change notification settings - Fork 1
63 lines (54 loc) · 1.61 KB
/
Copy pathci.yml
File metadata and controls
63 lines (54 loc) · 1.61 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: CI
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
lint-and-build:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_SUPABASE_URL: https://example.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY: stub-anon-key
SUPABASE_SERVICE_ROLE_KEY: stub-service-role-key
POSTMARK_SERVER_TOKEN: stub-postmark-token
POSTMARK_FROM_EMAIL: noreply@example.com
POSTMARK_REPLY_TO_DOMAIN: reply.example.com
LLM_ENCRYPTION_KEY: stub-llm-encryption-key
OPENAI_MODEL: gpt-4o-mini
LINKEDIN_CLIENT_ID: stub-linkedin-client-id
LINKEDIN_CLIENT_SECRET: stub-linkedin-client-secret
LINKEDIN_REDIRECT_URI: https://example.com
NEXT_PUBLIC_VAPID_PUBLIC_KEY: stub-vapid-public-key
VAPID_PUBLIC_KEY: stub-vapid-public-key
VAPID_PRIVATE_KEY: stub-vapid-private-key
VAPID_SUBJECT: mailto:example@example.com
NOTIFICATION_SCHEDULER_TOKEN: stub-scheduler-token
TWILIO_ACCOUNT_SID: stub-twilio-sid
TWILIO_AUTH_TOKEN: stub-twilio-token
TWILIO_PHONE_NUMBER: +15555555555
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22.13.0
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Type check
run: npm run type-check
- name: Test
run: npm run test