Skip to content

Commit

Permalink
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
mlejva committed Oct 15, 2024
2 parents 4196728 + 124365a commit 73af558
Show file tree
Hide file tree
Showing 35 changed files with 20,377 additions and 9,646 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
packages/python-sdk/e2b/api/client/** linguist-generated=true
**/*.gen.ts linguist-generated=true
apps/web/src/app/(docs)/docs/api-reference/** linguist-generated=true
11 changes: 0 additions & 11 deletions .github/scripts/is_new_api_ref.sh

This file was deleted.

112 changes: 0 additions & 112 deletions .github/workflows/generate_api_ref.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/js_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
pnpm config set exclude-links-from-lockfile true
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: |
pnpm install --frozen-lockfile
npx playwright install --with-deps
- name: Test build
run: pnpm build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'

- name: Install and configure Poetry
uses: snok/install-poetry@v1
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"

- name: Install and configure Poetry
uses: snok/install-poetry@v1
Expand Down Expand Up @@ -169,13 +169,17 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Generate API Ref
run: pnpm run generate-api-reference

- name: Update lock file
run: pnpm i --no-link --no-frozen-lockfile

- name: Commit new versions
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add apps/web/src/app/\(docs\)/docs/api-reference
git commit -am "[skip ci] Release new versions" || exit 0
git push
env:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release_candidates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/setup-python@v4
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
with:
python-version: "3.8"
python-version: "3.9"

- name: Install and configure Poetry
uses: snok/install-poetry@v1
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Install dependencies
- name: Install JS 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
Expand All @@ -94,6 +94,11 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_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: Release CLI Candidate
working-directory: packages/cli
if: ${{ contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
vale-styles
.vercel
.vscode
.DS_Store

# Logs
logs
Expand Down
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ enable-pre-post-scripts=true
auto-install-peers=true
exclude-links-from-lockfile=true
prefer-workspace-packages=false
link-workspace-packages=false
link-workspace-packages=false
engine-strict=true
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"singleQuote": true,
"semi": false
"semi": false,
"trailingComma": "es5"
}
Loading

0 comments on commit 73af558

Please sign in to comment.