Skip to content

Commit 43572cf

Browse files
committed
debug: Add logging to verify Spotlight env var is set in CI
1 parent 94d86a0 commit 43572cf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,15 @@ jobs:
993993

994994
- name: Set Spotlight env var for spotlight tests
995995
if: contains(matrix.test-application, 'spotlight')
996-
run: echo "NEXT_PUBLIC_SENTRY_SPOTLIGHT=true" >> $GITHUB_ENV
996+
run: |
997+
echo "NEXT_PUBLIC_SENTRY_SPOTLIGHT=true" >> $GITHUB_ENV
998+
echo "Setting NEXT_PUBLIC_SENTRY_SPOTLIGHT=true for spotlight test"
999+
1000+
- name: Debug Spotlight env var
1001+
if: contains(matrix.test-application, 'spotlight')
1002+
run: |
1003+
echo "NEXT_PUBLIC_SENTRY_SPOTLIGHT=$NEXT_PUBLIC_SENTRY_SPOTLIGHT"
1004+
env | grep -i spotlight || echo "No SPOTLIGHT vars found"
9971005
9981006
- name: Build E2E app
9991007
working-directory: ${{ runner.temp }}/test-application

0 commit comments

Comments
 (0)