From 6f0b23a38a9b0db97757a7d572894fbf1d44a31f Mon Sep 17 00:00:00 2001 From: KirisameVanilla <118162831+kirisamevanilla@users.noreply.github.com> Date: Thu, 11 Sep 2025 12:04:33 +0800 Subject: [PATCH] ci: pr build check --- .github/workflows/build_check.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build_check.yml diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml new file mode 100644 index 0000000..eb6ae43 --- /dev/null +++ b/.github/workflows/build_check.yml @@ -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 \ No newline at end of file