Skip to content

Commit 1e62bd7

Browse files
ci: Reset source maps before the build-changes check
Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent d76b654 commit 1e62bd7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/node.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ jobs:
8686
npm ci
8787
npm run build --if-present
8888
89+
- name: Reset source maps
90+
# Source map `mappings` are non-deterministic across different build environments
91+
# Reset tracked .map files so only JS and license changes are checked.
92+
run: git checkout -- '*.js.map' 2>/dev/null || true
93+
8994
- name: Check build changes
9095
run: |
9196
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"

0 commit comments

Comments
 (0)