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
13 changes: 10 additions & 3 deletions .github/workflows/cli_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,23 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
Expand All @@ -51,4 +58,4 @@ jobs:
- name: Run tests
run: pnpm test
env:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
11 changes: 9 additions & 2 deletions .github/workflows/generated_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,23 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/js_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,23 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
Expand Down Expand Up @@ -66,7 +73,7 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v${{ env.TOOL_VERSION_DENO }}

- name: Run Deno tests
run: pnpm test:deno
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- uses: pnpm/action-setup@v4
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node.js 20
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
cache: pnpm

- name: Configure pnpm
Expand All @@ -33,12 +40,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '${{ env.TOOL_VERSION_PYTHON }}'

- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: '${{ env.TOOL_VERSION_POETRY }}'
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/publish_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,34 @@ jobs:
with:
token: ${{ steps.app-token.outputs.token }}

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '${{ env.TOOL_VERSION_PYTHON }}'

- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: '${{ env.TOOL_VERSION_POETRY }}'
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- uses: pnpm/action-setup@v4
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node.js 20
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
cache: pnpm

- name: Configure pnpm
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/python_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,22 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '${{ env.TOOL_VERSION_PYTHON }}'

- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: '${{ env.TOOL_VERSION_POETRY }}'
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,23 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
Expand Down Expand Up @@ -59,16 +66,23 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/release_candidates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,23 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Parse .tool-versions
uses: wistia/[email protected]
with:
filename: '.tool-versions'
uppercase: 'true'
prefix: 'tool_version_'

- uses: pnpm/action-setup@v4
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') || contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
with:
version: 9.15.5
version: '${{ env.TOOL_VERSION_PNPM }}'

- name: Setup Node.js 20
- name: Setup Node.js
uses: actions/setup-node@v4
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') }}
with:
node-version: '20.x'
node-version: '${{ env.TOOL_VERSION_NODEJS }}'
registry-url: https://registry.npmjs.org
cache: pnpm

Expand All @@ -40,13 +47,13 @@ jobs:
uses: actions/setup-python@v4
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
with:
python-version: '3.9'
python-version: '${{ env.TOOL_VERSION_PYTHON }}'

- name: Install and configure Poetry
uses: snok/install-poetry@v1
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
with:
version: 1.8.3
version: '${{ env.TOOL_VERSION_POETRY }}'
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
Expand Down
5 changes: 5 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
deno 1.46.3
nodejs 20.19.5
pnpm 9.15.5
python 3.9
poetry 1.8.3