-
-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (37 loc) · 949 Bytes
/
pr.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
name: CI
on:
pull_request:
branches: [main, beta]
types: [opened, synchronize]
jobs:
init:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/quickstart
- uses: wagoid/commitlint-github-action@v6
env:
NODE_PATH: ${{ github.workspace }}/node_modules
validate:
needs: init
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/quickstart
- run: pnpm --filter="@chakra-icons/*" --filter="create-*" run lint
test:
needs: init
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/quickstart
- run: pnpm run test
build:
env:
NODE_OPTIONS: --max_old_space_size=8192
needs: init
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/quickstart
- run: pnpm run build