-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 881 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
34
35
36
37
38
39
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
strategy:
matrix:
include:
- suite: modernjs
os: ubuntu-latest
- suite: plugins
os: ubuntu-latest
- suite: rspress
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rslib
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: ${{ matrix.suite }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build-rsbuild
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3
- run: >-
pnpm tsx ecosystem-ci.ts
run-suites
${{ matrix.suite }}