-
Notifications
You must be signed in to change notification settings - Fork 378
33 lines (30 loc) · 788 Bytes
/
Copy pathci.yml
File metadata and controls
33 lines (30 loc) · 788 Bytes
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:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "24"
- uses: pnpm/action-setup@v6
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
- run: pnpm run docs:check
if: matrix.os == 'ubuntu-latest'
- run: pnpm run docs:site
if: matrix.os == 'ubuntu-latest'
- run: pnpm run test
- run: pnpm run build
if: matrix.os == 'ubuntu-latest'
- run: pnpm run test:packed-cli
if: matrix.os == 'ubuntu-latest'