Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
ci(js-sdk): install Playwright Chromium without `--with-deps` (#1699)
cursor[bot]43c28b15fbd1
diff --git a/.github/workflows/js_sdk_tests.yml b/.github/workflows/js_sdk_tests.ymlindex a54f151cb..3a08f0dcb 100644--- a/.github/workflows/js_sdk_tests.yml+++ b/.github/workflows/js_sdk_tests.yml@@ -96,6 +96,10 @@ jobs:path: ${{ matrix.os == 'windows-latest' && '~/AppData/Local/ms-playwright' || '~/.cache/ms-playwright' }}key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}+ - name: Install Playwright Chromium+ if: matrix.runtime == 'node'+ run: pnpm run playwright:install+# The unit bundle test and the Cloudflare deploy config fail in CI when# the build output is missing.- name: Test builddiff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.jsonindex b344820b1..ea36166b0 100644--- a/packages/js-sdk/package.json+++ b/packages/js-sdk/package.json@@ -35,7 +35,7 @@"generate:volume-api": "openapi-typescript ../../spec/openapi-volumecontent.yml -x api_key --array-length --alphabetize --output src/volume/schema.gen.ts","generate:mcp": "json2ts -i ./../../spec/mcp-server.json -o src/sandbox/mcp.d.ts --unreachableDefinitions --style.singleQuote --no-style.semi","check-deps": "knip",- "pretest": "npx playwright install --with-deps chromium",+ "playwright:install": "playwright install chromium","test:bun": "bunx --bun vitest run --project unit --project connectionConfig --project template","test:cf": "vitest run --config tests/runtimes/cloudflare/vitest.config.mts","test:cf:deploy": "vitest run --config tests/runtimes/cloudflare-deploy/vitest.config.mts",