From 56b00f715aef19c04e84dce9d1507da61f08a310 Mon Sep 17 00:00:00 2001 From: Ven Date: Wed, 26 Oct 2022 13:03:53 +0200 Subject: ci: Only rebuild on actual code changes --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 951bb60..2fc8682 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,12 @@ on: push: branches: - main + paths: + - .github/workflows/build.yml + - src/** + - browser/** + - scripts/build/** + - package.json env: FORCE_COLOR: true @@ -16,9 +22,9 @@ jobs: - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json - name: Use Node.js 18 - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 19 cache: "pnpm" - name: Install dependencies -- cgit