Skip to content

Commit c2941da

Browse files
committed
add build errors check github workflow
1 parent bc26d60 commit c2941da

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Check Build Errors
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main # Run on PRs targeting the main branch
7+
8+
jobs:
9+
build-check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Install Dependencies
18+
run: npm install
19+
20+
- name: Build
21+
run: npm run build
22+
23+
24+
25+
26+

0 commit comments

Comments
 (0)