Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@ jobs:
- name: Integration tests (headless Node)
run: node --test "crates/bashkit-wasm/__test__/*.test.mjs"

- name: Browser streaming (main thread and worker)
run: |
npm install --prefix "$RUNNER_TEMP/bashkit-browser-test" --no-save playwright@1.62.1
export PLAYWRIGHT_MODULE="$RUNNER_TEMP/bashkit-browser-test/node_modules/playwright/index.mjs"
node "$RUNNER_TEMP/bashkit-browser-test/node_modules/playwright/cli.js" install --with-deps chromium
export CHROME_EXECUTABLE=$(node --input-type=module -e 'const {chromium} = await import(process.env.PLAYWRIGHT_MODULE); console.log(chromium.executablePath())')
node crates/bashkit-wasm/scripts/test-streaming-browser.mjs

- name: Browser compatibility and transfer-size gates
run: |
node crates/bashkit-wasm/bench/compat.mjs
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,8 @@ jobs:

- name: Run runtime-compat tests (Deno)
if: matrix.runtime == 'deno'
run: |
for f in __test__/runtime-compat/*.test.mjs; do
echo "--- $f ---"
deno run -A "$f"
done
# node:test registers with Deno.test; deno run does not execute it.
run: deno test -A __test__/runtime-compat/*.test.mjs
working-directory: crates/bashkit-js

- name: Install example dependencies and link local build
Expand Down
Loading
Loading