ci: Only rebuild on actual code changes

main
Ven 2 years ago committed by GitHub
parent fe5a78ddc9
commit 56b00f715a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save