fix: align release Node versions and wrap mobile editor controls

Pin CI and production Node to 24.22.3 and validate dependencies against
the manifest and lockfile. Retain explicit legacy runtime compatibility
coverage.

Wrap configuration and script editor toolbar controls on mobile.

Validation: 11 runtime image/platform combinations, Node layer checks,
full panel and CLI suites, plus a frontend build and 18 focused tests
with the UI changes included.
This commit is contained in:
whyour committed 2026-11-21 23:45:03 +08:00
1 parent 04797810f9
commit 77ece406ac
15 files changed
+251 -32

No files matched your search

+12 -5
View File
@@ -76,8 +76,13 @@ jobs:
if: ${{ !inputs.static_sync_only }}
needs: validate
runs-on: ubuntu-latest
outputs:
node-version: ${{ steps.runtime.outputs.node-version }}
steps:
- uses: actions/checkout@v6
- name: Read production Node version
id: runtime
run: echo "node-version=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
- uses: pnpm/action-setup@v6
with:
version: "8.3.1"
@@ -251,7 +256,7 @@ jobs:
version: "8.3.1"
- uses: actions/setup-node@v6
with:
node-version: "24"
node-version-file: ".nvmrc"
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
@@ -340,7 +345,7 @@ jobs:
version: "8.3.1"
- uses: actions/setup-node@v6
with:
node-version: "24"
node-version-file: ".nvmrc"
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
@@ -441,7 +446,8 @@ jobs:
fail-fast: false
matrix:
node: ['20.18.1', '24']
container: node:${{ matrix.node }}-bookworm
# Keep Node 20 for legacy upgrade acceptance; the current runtime is pinned.
container: node:${{ matrix.node == '24' && needs.build-static.outputs.node-version || matrix.node }}-bookworm
steps:
- uses: actions/checkout@v6
- uses: actions/download-artifact@v6
@@ -481,10 +487,11 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- name: Set up Node for trusted publishing
uses: actions/setup-node@v6
with:
node-version: '24'
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org
package-manager-cache: false
@@ -593,7 +600,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
node-version-file: '.nvmrc'
- uses: pnpm/action-setup@v6
with:
version: '8.3.1'