Skip to content

Commit ea01da3

Browse files
committed
chore: add pr workflow to catch build errors early
1 parent 8177b96 commit ea01da3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/pull-request.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Pull request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- source
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
18+
- name: Install dependencies
19+
run: npm install
20+
21+
- name: Build website
22+
run: npm run build

0 commit comments

Comments
 (0)