-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 842 Bytes
/
ci.yml
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:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: pnpm i
- run: pnpm lint-check
- run: pnpm build
- run: pnpm tsc
- run: pnpm test
- run: npx typedoc
tiny-react:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: pnpm i
- run: pnpm build
- run: npx playwright install chromium
- run: pnpm -C packages/tiny-react/examples/server test-e2e
- run: pnpm -C packages/tiny-react/examples/server build
- run: pnpm -C packages/tiny-react/examples/server test-e2e-preview