diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 685eabd..96a9899 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,9 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v5 with: - node-version: 'lts/*' + # Not `lts/*`: on Node 26, `npm ci` fails compiling isolated-vm 6.2.0, a dev + # dependency that @n8n/expression-runtime pulls in. Move on once it builds. + node-version: '24' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 4ebcca8..fe01352 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -42,7 +42,9 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v5 with: - node-version: 'lts/*' + # Not `lts/*`: on Node 26, `npm ci` fails compiling isolated-vm 6.2.0, a dev + # dependency that @n8n/expression-runtime pulls in. Move on once it builds. + node-version: '24' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d8d16ca..af4ef9c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,9 +45,9 @@ # credential in .npmrc takes precedence over OIDC, so a half-configured or empty # secret silently becomes the publishing identity, or fails. # -# OIDC needs npm >= 11.5.1 on Node >= 22.14, which `lts/*` satisfies. The guard -# below fails loudly rather than silently falling back if that ever stops being -# true. +# OIDC needs npm >= 11.5.1 on Node >= 22.14, which Node 24 satisfies (24.22 ships +# npm 11.19). The guard below fails loudly rather than silently falling back if +# that ever stops being true. name: Publish on: @@ -79,7 +79,9 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v5 with: - node-version: 'lts/*' + # Not `lts/*`: on Node 26, `npm ci` fails compiling isolated-vm 6.2.0, a dev + # dependency that @n8n/expression-runtime pulls in. Move on once it builds. + node-version: '24' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/source-types-drift.yml b/.github/workflows/source-types-drift.yml index 8020c03..1875f41 100644 --- a/.github/workflows/source-types-drift.yml +++ b/.github/workflows/source-types-drift.yml @@ -26,7 +26,9 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v5 with: - node-version: 'lts/*' + # Not `lts/*`: on Node 26, `npm ci` fails compiling isolated-vm 6.2.0, a dev + # dependency that @n8n/expression-runtime pulls in. Move on once it builds. + node-version: '24' cache: 'npm' - name: Install dependencies