Skip to content

Commit 6a1988f

Browse files
committed
ci: do not expect the source map to be stable
Apparently there is some sort of instability regarding the source maps. In this developer's setup, a sequence 'AACA;AAIA;' was replaced by 'AACA,2BAGA;AACA;' relative to the CI setup. The purpose of those mappings is to figure out from stacktraces where the culprit lies in the actual original code _in Typescript_. It is unclear where those differences come from, but then, they are not a blocker at all for running this GitHub Action. So let's ignore them. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 95dc943 commit 6a1988f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
shell: bash
2222
run: |
2323
# `ncc` produces output with mixed line endings
24-
test -z "$(git diff -aw HEAD | tee diff.txt)" || {
24+
test -z "$(git diff -aw HEAD -- ':(exclude)dist/index.js.map' | tee diff.txt)" || {
2525
echo 'Files changed after `npm run package`'
2626
cat diff.txt
2727
exit 1

0 commit comments

Comments
 (0)