Frontmatter
| id | 8340 |
| title | Update npm-publish workflow to support Node.js 22.x |
| state | Closed |
| labels | bugaibuild |
| assignees | tobiu |
| createdAt | Jan 5, 2026, 10:55 PM |
| updatedAt | Jan 5, 2026, 11:08 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8340 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 5, 2026, 10:57 PM |

The
npm-publishworkflow is failing becausebuildScripts/downloadKnowledgeBase.mjsuses the newimport ... with { type: 'json' }syntax, which is not supported in the currently configured Node.js 16.x environment.Task:
.github/workflows/npm-publish.ymlto usenode-version: '22.x'(or a version that supports Import Attributes).