-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 1.04 KB
/
Copy pathci.yml
File metadata and controls
34 lines (32 loc) · 1.04 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @nullsec/shared exec tsc --noEmit
- run: pnpm --filter @nullsec/db exec tsc --noEmit
- run: pnpm --filter @nullsec/scanner exec tsc --noEmit
- run: pnpm --filter @nullsec/analysis exec tsc --noEmit
- run: pnpm --filter @nullsec/worker exec tsc --noEmit
- name: Build web app
run: pnpm --filter @nullsec/web exec next build
env:
NEXT_PUBLIC_SUPABASE_URL: https://placeholder.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY: placeholder
SUPABASE_SERVICE_ROLE_KEY: placeholder
REDIS_URL: redis://localhost:6379
NEXT_PUBLIC_APP_URL: http://localhost:3000