ci: pr build check

This commit is contained in:
KirisameVanilla 2025-09-11 12:04:33 +08:00
parent 97f40e49b2
commit 6f0b23a38a
No known key found for this signature in database
GPG Key ID: 7FC750F817277AC5
1 changed files with 24 additions and 0 deletions

24
.github/workflows/build_check.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: PR Build Check
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build_check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js 22.14.0
uses: actions/setup-node@v4
with:
node-version: '22.14.0'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build