-
Notifications
You must be signed in to change notification settings - Fork 0
76 lines (60 loc) · 1.62 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: CI
on: [push]
permissions:
contents: read
jobs:
workspace-ci:
name: Workspace CI
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: ./.github/reusable-workflows/setup-repo
with:
node-version: ${{ matrix.node-version }}
- name: Check for a changelog entry
if: ${{ github.ref != 'refs/heads/prepare-release' && github.actor != 'dependabot[bot]' }}
run: |
pnpm run changelog:status:ci
- name: Run CI checks
run: |
pnpm run all:ci
- name: Report test coverage to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ github.token }}
package-ci:
name: Package CI
runs-on: ubuntu-latest
strategy:
matrix:
package-name: [limited-cache]
steps:
- uses: actions/[email protected]
- uses: ./.github/reusable-workflows/setup-repo
with:
node-version: latest
- name: Run CI checks for package
run: |
cd packages/${{ matrix.package-name }}
pnpm run all:ci
demo-ci:
name: Demo CI
runs-on: ubuntu-latest
strategy:
matrix:
demo-name: [vite-react-app]
steps:
- uses: actions/[email protected]
- uses: ./.github/reusable-workflows/setup-repo
with:
node-version: latest
use-lockfile: false
- name: Run CI checks for demo
run: |
cd demos/${{ matrix.demo-name }}
pnpm run all:ci