-
Notifications
You must be signed in to change notification settings - Fork 1
99 lines (76 loc) · 2.18 KB
/
Copy pathci.yml
File metadata and controls
99 lines (76 loc) · 2.18 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: CI
on:
pull_request:
workflow_call:
permissions:
contents: read
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
quality:
name: Lint · Typecheck · Build · Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Build
run: pnpm build
- name: Verify JSON CLI transcripts
run: node scripts/check-cli-json.mjs
- name: Typecheck Expo integration
run: pnpm --filter @genie-react/expo-demo typecheck
- name: Verify release artifacts
run: pnpm check:release
- name: Test
run: pnpm test
- name: Documentation
run: pnpm check:docs
vite-e2e:
name: Vite browser to CLI E2E
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Install Chromium
run: pnpm exec playwright install --with-deps chromium
- name: Run Vite E2E
run: pnpm check:e2e
- name: Verify interaction timeline in Chromium
run: node scripts/check-timeline-e2e.mjs
compatibility:
name: Compatibility · ${{ matrix.profile }} · Node ${{ matrix.node }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- profile: minimum
node: 22.12.0
- profile: current
node: 24
- profile: current
node: 26
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Build packages
run: pnpm build
- name: Setup compatibility Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Verify dependency compatibility
run: node scripts/check-compatibility.mjs --profile ${{ matrix.profile }}