Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

chore: upgrade Node.js from 20 to 22 in CI/CD workflows (#5651)

Oleg Isonen4276aeb8e8d3
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 743b3d8ab1..69ab58a9fa 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm
+FROM mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm
ENV PATH=/usr/local/bin:${PATH}
# Install latest pnpm
diff --git a/.github/actions/ci-setup/action.yml b/.github/actions/ci-setup/action.yml
index 5767b0b7eb..f363e56ffd 100644
--- a/.github/actions/ci-setup/action.yml
+++ b/.github/actions/ci-setup/action.yml
@@ -10,7 +10,7 @@ runs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile --ignore-scripts
shell: bash
diff --git a/.github/actions/vercel/action.yaml b/.github/actions/vercel/action.yaml
index 20077162ac..9b0119f541 100644
--- a/.github/actions/vercel/action.yaml
+++ b/.github/actions/vercel/action.yaml
@@ -65,7 +65,7 @@ runs:
"outputDirectory": null,
"rootDirectory": "apps/builder",
"directoryListing": false,
- "nodeVersion": "20.x"
+ "nodeVersion": "22.x"
}
}
EOF
diff --git a/.github/workflows/cli-r2-static.yaml b/.github/workflows/cli-r2-static.yaml
index 4e04f22fb0..769c3d5ac1 100644
--- a/.github/workflows/cli-r2-static.yaml
+++ b/.github/workflows/cli-r2-static.yaml
@@ -39,7 +39,7 @@ jobs:
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: pnpm
# TRY FIX cloudlare incident
@@ -99,7 +99,7 @@ jobs:
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Copy atrifact via http
run: curl -o ssg-template.tar.zst ${{ secrets.ARTEFACT_BUCKET_URL }}/public/ssg-template/${{ github.ref_name }}.tar.zst
diff --git a/.github/workflows/cli-r2.yaml b/.github/workflows/cli-r2.yaml
index b8e3247cf0..e72ed30b14 100644
--- a/.github/workflows/cli-r2.yaml
+++ b/.github/workflows/cli-r2.yaml
@@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: pnpm
# TRY FIX cloudlare incident
@@ -100,7 +100,7 @@ jobs:
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Copy atrifact via http
run: curl -o cloudflare-template.tar.zst ${{ secrets.ARTEFACT_BUCKET_URL }}/public/cloudflare-template/${{ github.ref_name }}.tar.zst
diff --git a/.github/workflows/migrate.yaml b/.github/workflows/migrate.yaml
index f818995321..e86196b8c4 100644
--- a/.github/workflows/migrate.yaml
+++ b/.github/workflows/migrate.yaml
@@ -43,7 +43,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: pnpm
- name: pnpm instal
@@ -100,7 +100,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: pnpm
- name: pnpm instal