From 562ffbb4f1e87d20b14aee2723d65af266007a46 Mon Sep 17 00:00:00 2001 From: Darren Temple Date: Wed, 13 Nov 2024 17:22:18 +0000 Subject: [PATCH] fix: Trigger new NPM major version on changes to static files as well as template files --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8ac0b5c..063532e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,10 +27,12 @@ jobs: id: filter with: filters: | + src_static: + - 'src/static/**' src_templates: - 'src/templates/**' - name: Increment Version (for security - and CSP asset alignment - every change to the template files is a breaking change) - if: steps.filter.outputs.src_templates == 'true' + if: steps.filter.outputs.src_static == 'true' || steps.filter.outputs.src_templates == 'true' run: npm version major - name: Install and Build using incremented version run: npm ci