aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-26 13:03:53 +0200
committerGitHub <noreply@github.com>2022-10-26 13:03:53 +0200
commit56b00f715aef19c04e84dce9d1507da61f08a310 (patch)
tree50984bc6f207b3fac85cbcd410b8690af2121fff
parentfe5a78ddc9d12302997016a4d71bc09c581487d5 (diff)
downloadVencord-56b00f715aef19c04e84dce9d1507da61f08a310.tar.gz
Vencord-56b00f715aef19c04e84dce9d1507da61f08a310.tar.bz2
Vencord-56b00f715aef19c04e84dce9d1507da61f08a310.zip
ci: Only rebuild on actual code changes
-rw-r--r--.github/workflows/build.yml10
1 files changed, 8 insertions, 2 deletions
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