Skip to content

Commit 248e47b

Browse files
feat: CI for PR to main, site builds
1 parent 43eeaf6 commit 248e47b

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
name: Build Check
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v2
22+
with:
23+
version: 8
24+
25+
- name: Install dependencies
26+
working-directory: site
27+
run: pnpm install
28+
29+
- name: Build
30+
working-directory: site
31+
run: pnpm run build

0 commit comments

Comments
 (0)