Skip to content

Commit 5cab3a5

Browse files
committed
feat: Updates workflows to use hidden API key values.
1 parent f5d08bd commit 5cab3a5

4 files changed

Lines changed: 3 additions & 121 deletions

File tree

e2e/samples.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ foldersToTest.forEach((sampleFolder) => {
154154
{
155155
cwd: path.join(samplesDir, sampleFolder),
156156
stdio: 'inherit',
157-
detached: true, // Allows parent to exit independently, though we kill it in finally
158157
}
159158
);
160159

@@ -252,8 +251,8 @@ foldersToTest.forEach((sampleFolder) => {
252251
);
253252
}
254253
}
255-
// Add a small delay to allow the process to terminate
256-
await page.waitForTimeout(500);
254+
// Add a small delay to allow the process to terminate without depending on the potentially closed page object
255+
await new Promise((resolve) => setTimeout(resolve, 500));
257256
}
258257
});
259258
});

samples/build-single.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,4 @@ set -e
196196
bash ../jsfiddle.sh "$NAME"
197197
bash ../app.sh "$NAME"
198198
bash ../docs.sh "$NAME"
199-
npm run build:vite --workspace=.
200-
bash ../dist.sh "$NAME"
199+
npm run build:vite --workspace=.

samples/dist.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

samples/vite.config.js

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)