Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Update github actions to node v20 (#872)

Mish Ushakovabebb40d2a1d
diff --git a/.github/workflows/cli_tests.yml b/.github/workflows/cli_tests.yml
index 7fb5cf02d..39d030119 100644
--- a/.github/workflows/cli_tests.yml
+++ b/.github/workflows/cli_tests.yml
@@ -29,7 +29,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
- node-version: '18.x'
+ node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
diff --git a/.github/workflows/js_sdk_tests.yml b/.github/workflows/js_sdk_tests.yml
index 7e6065582..d55261f47 100644
--- a/.github/workflows/js_sdk_tests.yml
+++ b/.github/workflows/js_sdk_tests.yml
@@ -32,7 +32,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
- node-version: '18.x'
+ node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index ca87fe1a6..301512824 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -16,10 +16,10 @@ jobs:
with:
version: 9.5
- - name: Setup Node.js 18
+ - name: Setup Node.js 20
uses: actions/setup-node@v4
with:
- node-version: '18.x'
+ node-version: '20.x'
registry-url: https://registry.npmjs.org
cache: pnpm
diff --git a/.github/workflows/publish_packages.yml b/.github/workflows/publish_packages.yml
index 56bb46f90..a700a8722 100644
--- a/.github/workflows/publish_packages.yml
+++ b/.github/workflows/publish_packages.yml
@@ -46,10 +46,10 @@ jobs:
with:
version: 9.5
- - name: Setup Node.js 18
+ - name: Setup Node.js 20
uses: actions/setup-node@v3
with:
- node-version: '18.x'
+ node-version: '20.x'
cache: pnpm
- name: Configure pnpm
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2c086ada8..58179a306 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
- node-version: "18.x"
+ node-version: "20.x"
registry-url: "https://registry.npmjs.org"
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
@@ -70,7 +70,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
- node-version: "18.x"
+ node-version: "20.x"
registry-url: "https://registry.npmjs.org"
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
diff --git a/.github/workflows/release_candidates.yml b/.github/workflows/release_candidates.yml
index 3405514a3..06afd700e 100644
--- a/.github/workflows/release_candidates.yml
+++ b/.github/workflows/release_candidates.yml
@@ -22,11 +22,11 @@ jobs:
with:
version: 9.5
- - name: Setup Node.js 18
+ - name: Setup Node.js 20
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: '18.x'
+ node-version: '20.x'
registry-url: https://registry.npmjs.org
cache: pnpm