Skip to content

Commit 30f5e00

Browse files
committed
🧪 Add preview command to static-site SDK E2E tests
1 parent 8480393 commit 30f5e00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/sdk-e2e.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ jobs:
234234
VIZZLY_COMMIT_MESSAGE: ${{ github.event.pull_request.head.commit.message || github.event.head_commit.message }}
235235
VIZZLY_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.head_commit.id }}
236236

237+
- name: Upload preview
238+
working-directory: ./clients/static-site
239+
run: ../../bin/vizzly.js preview ../../test-site
240+
env:
241+
VIZZLY_TOKEN: ${{ secrets.VIZZLY_STATIC_SITE_CLIENT_TOKEN }}
242+
237243
# Ember SDK
238244
ember:
239245
name: Ember SDK

0 commit comments

Comments
 (0)