Skip to content

Commit a4825e0

Browse files
committed
one more test
1 parent 4f1a92b commit a4825e0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/playwright.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,16 @@ jobs:
4343
name: deployment-url
4444
path: .
4545

46+
- name: Read Deployment URL
47+
id: read_url
48+
run: |
49+
echo "DUB_ANALYTICS_SCRIPT_URL=$(cat deployment_url.txt)/analytics/script.site-visit.outbound-domains.js" >> $GITHUB_ENV
50+
4651
- name: Run Playwright tests
4752
working-directory: apps/nextjs
4853
run: pnpm exec playwright test
4954
env:
50-
DUB_ANALYTICS_SCRIPT_URL: $(cat deployment_url.txt)/analytics/script.site-visit.outbound-domains.js
55+
DUB_ANALYTICS_SCRIPT_URL: ${{ env.DUB_ANALYTICS_SCRIPT_URL }}
5156

5257
- uses: actions/upload-artifact@v4
5358
if: ${{ !cancelled() }}

packages/script/src/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function () {
2-
console.log('Test the GH action 3');
2+
console.log('Test the GH action 4');
33

44
// Store script reference for extensions
55
const script = document.currentScript;

0 commit comments

Comments
 (0)