-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (34 loc) · 1.03 KB
/
ci-react19.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI React 19
# Pnpm setup based on https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CI: true
concurrency:
group: ci-react19-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Node and PNPM
uses: ./../actions/setup.yml
with:
install_dependencies: false
- name: Install React 19
run: pnpm install-react19
- name: Install dependencies
run: pnpm i
- name: Build packages
run: pnpm build:pkg
- name: Generate documentation
run: pnpm doc:generate
- name: Build sample apps
run: pnpm build:apps
- name: Lint packages
run: pnpm lint
- name: Test packages
run: pnpm test