-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.08 KB
/
Copy pathci.yml
File metadata and controls
34 lines (32 loc) · 1.08 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:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- name: Test (packages/estreuv)
run: npm run test
- name: Measure bundle (I1 LoC / I3 gzip)
run: npm run measure
- name: D1 per-tile LoC vs raw Lit (must stay ≤ +20%)
run: npm run measure:d1 --workspace=packages/estreuv
- name: Type declarations (D4 — .d.ts emit must stay green)
run: npm run types --workspace=packages/estreuv
- name: Fresh-install packaging smoke (published artifact contract)
run: npm run smoke:pack --workspace=packages/estreuv
- name: create-estreuv smoke test
run: npm run test --workspace=packages/create-estreuv
- name: playground pair-integration contract
run: npm run test --workspace=packages/playground
- name: docs build (VitePress)
run: npm run build --workspace=packages/docs