Skip to content

Commit b4d72d6

Browse files
committed
🔧 Add client build step before E2E tests in CI
The .vizzlyrc.js config loads plugins from ./dist/plugin.js, which requires building the client first.
1 parent 9a8aa7b commit b4d72d6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/sdk-e2e.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ jobs:
145145
working-directory: ./clients/storybook
146146
run: npm install
147147

148+
- name: Build Storybook client
149+
working-directory: ./clients/storybook
150+
run: npm run build
151+
148152
- name: Get Puppeteer version
149153
working-directory: ./clients/storybook
150154
id: puppeteer-version
@@ -206,6 +210,10 @@ jobs:
206210
working-directory: ./clients/static-site
207211
run: npm install
208212

213+
- name: Build Static-Site client
214+
working-directory: ./clients/static-site
215+
run: npm run build
216+
209217
- name: Get Puppeteer version
210218
working-directory: ./clients/static-site
211219
id: puppeteer-version

0 commit comments

Comments
 (0)