-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (38 loc) · 1016 Bytes
/
Copy pathci.yml
File metadata and controls
48 lines (38 loc) · 1016 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
name: build + test (${{ matrix.os }} / node ${{ matrix.node }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
node: ["20.x", "22.x"]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Biome check (lint + format)
run: npx biome check .
- name: Build core
run: npm run build:core
- name: Test core
run: npm run test:core
- name: Build web
run: npm run build -w plexus-agent-config-web
- name: Typecheck workspaces
run: npm run typecheck