From 777f0c71258eac3331d4bbf15b9cd2b6a84de47c Mon Sep 17 00:00:00 2001 From: 656d696c65 Date: Fri, 28 Nov 2025 19:43:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci(pr-build-check):=20rename=20b?= =?UTF-8?q?uild-check=20workflow=20and=20update=20Node.js=20and=20pnpm=20v?= =?UTF-8?q?ersions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - rename workflow from build-check to pr-build-check - update pnpm from version 9 to 10.18.1 - update Node.js from version 20 to 22.1.0 - add on: pull_request trigger for relevant PR events --- .../workflows/{build-check.yml => pr-build-check.yml} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename .github/workflows/{build-check.yml => pr-build-check.yml} (75%) diff --git a/.github/workflows/build-check.yml b/.github/workflows/pr-build-check.yml similarity index 75% rename from .github/workflows/build-check.yml rename to .github/workflows/pr-build-check.yml index 28362be..53aa580 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/pr-build-check.yml @@ -1,5 +1,9 @@ -name: Build check +name: PR build check +on: + pull_request: + types: [opened, synchronize, reopened] + on: push: branches: @@ -20,7 +24,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 with: - version: 9 + version: 10.18.1 run_install: false - name: Install Node.js @@ -28,7 +32,7 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - node-version: 20 + node-version: 22.1.0 - name: Install dependencies run: pnpm install