Skip to content

Commit 497762f

Browse files
committed
add a build workflow
1 parent e799fd5 commit 497762f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v5
17+
with:
18+
persist-credentials: false
19+
- name: Setup pnpm
20+
uses: pnpm/action-setup@v4
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 22
25+
cache: 'pnpm'
26+
- name: Install dependencies
27+
run: pnpm install --frozen-lockfile
28+
- name: Build agent package
29+
run: pnpm --filter agent build
30+
- name: Build array app
31+
run: pnpm --filter array package

0 commit comments

Comments
 (0)