diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4861857..518c55e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,10 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v5 with: - node-version: 'lts/*' + # Pinned, not lts/*. n8n-workflow pulls in isolated-vm, which ships + # prebuilt binaries for Node 22 and 24 only, so on a newer Node npm ci + # has to compile it. Move this when the lockfile's isolated-vm does. + node-version: '24' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 916fe4a..3de8cde 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,7 +44,8 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v5 with: - node-version: 'lts/*' + # The same pin as ci.yml, for the same reason. + node-version: '24' cache: 'npm' - name: Install dependencies