Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Start tests with python

Jakub Novakbcea20f7bc46
diff --git a/.github/workflows/release_candidates.yml b/.github/workflows/release_candidates.yml
index 817ae7a0a..9963e3899 100644
--- a/.github/workflows/release_candidates.yml
+++ b/.github/workflows/release_candidates.yml
@@ -36,37 +36,6 @@ jobs:
pnpm config set auto-install-peers true
pnpm config set exclude-links-from-lockfile true
- - name: Install dependencies
- if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') || contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
- run: |
- pnpm install --frozen-lockfile
-
- - name: Test JS SDK
- working-directory: packages/js-sdk
- if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
- run: |
- npx playwright install --with-deps
- pnpm run test
- env:
- E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
-
- - name: Release JS Candidate
- working-directory: packages/js-sdk
- if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
- run: |
- npm version prerelease --preid=${{ github.head_ref }}
- npm publish --tag rc
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
-
- - name: Release CLI Candidate
- working-directory: packages/cli
- if: ${{ contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
- run: |
- npm version prerelease --preid=${{ github.head_ref }}
- npm publish --tag rc
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v4
@@ -102,6 +71,38 @@ jobs:
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
+ - name: Install dependencies
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') || contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
+ run: |
+ pnpm install --frozen-lockfile
+
+ - name: Test JS SDK
+ working-directory: packages/js-sdk
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
+ run: |
+ npx playwright install --with-deps
+ pnpm run test
+ env:
+ E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
+
+ - name: Release JS Candidate
+ working-directory: packages/js-sdk
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
+ run: |
+ npm version prerelease --preid=${{ github.head_ref }}
+ npm publish --tag rc
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
+ - name: Release CLI Candidate
+ working-directory: packages/cli
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
+ run: |
+ npm version prerelease --preid=${{ github.head_ref }}
+ npm publish --tag rc
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
- name: Commit new versions
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') || contains( github.event.pull_request.labels.*.name, 'cli-rc') || contains( github.event.pull_request.labels.*.name, 'python-rc') }}
run: |
diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json
index 76567187e..38996e3d2 100644
--- a/packages/js-sdk/package.json
+++ b/packages/js-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "e2b",
- "version": "0.16.2-beta.53",
+ "version": "0.16.2-beta.54",
"description": "E2B SDK that give agents cloud environments",
"homepage": "https://e2b.dev",
"license": "MIT",