Skip to content

Commit 2cb5f54

Browse files
authored
feat: test build (#2)
1 parent b8d30da commit 2cb5f54

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Test Build
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
test-build:
10+
strategy:
11+
matrix:
12+
os: [windows-latest, ubuntu-latest]
13+
14+
runs-on: ${{ matrix.os }}
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '22'
24+
25+
- name: Setup pnpm
26+
uses: pnpm/action-setup@v3
27+
with:
28+
version: 10
29+
30+
- name: Install dependencies
31+
run: pnpm install
32+
33+
- name: Build distributables
34+
run: pnpm run make

0 commit comments

Comments
 (0)