File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # CI for the xata-cli mirror.
2+ #
3+ # Verifies the standalone mirror builds from source using only its committed
4+ # lockfile and packages published to npm — the guarantee tracked in xataio/cli#2.
5+ # The monorepo's mirror sync regenerates pnpm-lock.yaml on every push, so
6+ # `--frozen-lockfile` here proves the committed lockfile stays in sync.
7+ #
8+ # Maintained directly in this repo (.github is not part of the synced subtree).
9+ name : CI
10+
11+ on :
12+ push :
13+ branches : [main]
14+ pull_request :
15+
16+ jobs :
17+ build :
18+ name : Build from source
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - uses : pnpm/action-setup@v4
24+ with :
25+ version : 10.33.0
26+
27+ - uses : actions/setup-node@v4
28+ with :
29+ node-version : 24
30+ cache : pnpm
31+
32+ - uses : oven-sh/setup-bun@v2
33+ with :
34+ bun-version : latest
35+
36+ - name : Install (frozen lockfile)
37+ run : pnpm install --frozen-lockfile
38+
39+ - name : Typecheck
40+ run : pnpm run tsc
41+
42+ - name : Build
43+ run : pnpm run build
44+
45+ - name : Unit tests
46+ run : pnpm run test-unit
You can’t perform that action at this time.
0 commit comments