-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 852 Bytes
/
Copy pathci.yml
File metadata and controls
33 lines (27 loc) · 852 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: node scripts/check-docs.mjs
- run: pnpm build
- run: pnpm typecheck
- run: pnpm lint
- run: pnpm test
# Every `exports`/`bin` target exists in the built tree. A subpath nothing
# in the repo imports compiles clean and 404s for the first consumer.
- run: pnpm check:exports
# The playgrounds render in a pipe, with no terminal at all.
- run: pnpm dev gallery --static --width 100 --height 30
- run: pnpm dev charts --static --ascii --mono --width 100