-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (36 loc) · 929 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:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}=${{ github.head_ref }}
cancel-in-progress: true
jobs:
ci:
name: CI (Lint, Check, Build)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [20.x, 22.x, 23.x]
python-version: ['3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node-version: ${{ matrix.node-version }}
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Format (API)
run: pnpm api format
- name: Check
run: pnpm check
- name: Build
run: pnpm build