diff --git a/.github/actions/setup-and-build/action.yaml b/.github/actions/setup-and-build/action.yaml index d4f49fc35..7d59e3e87 100644 --- a/.github/actions/setup-and-build/action.yaml +++ b/.github/actions/setup-and-build/action.yaml @@ -17,7 +17,7 @@ runs: - name: Setup node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: 'pnpm' registry-url: 'https://registry.npmjs.org' diff --git a/packages/language-support/package.json b/packages/language-support/package.json index 99e1e6e38..3a1a284df 100644 --- a/packages/language-support/package.json +++ b/packages/language-support/package.json @@ -22,6 +22,7 @@ "highlighting" ], "version": "2.0.0-next.20", + "type": "module", "main": "./dist/cjs/index.cjs", "module": "./dist/esm/project/language-support/src/index.js", "types": "./dist/esm/project/language-support/src/index.d.ts", diff --git a/packages/react-codemirror/package.json b/packages/react-codemirror/package.json index f7ad9f808..e71cad934 100644 --- a/packages/react-codemirror/package.json +++ b/packages/react-codemirror/package.json @@ -26,8 +26,8 @@ "build": "tsc --declaration --outDir dist/", "clean": "rm -rf {dist,tsconfig.tsbuildinfo}", "test": "vitest run", - "test:e2e": "playwright test -c playwright-ct.config.ts", - "test:e2e-ui": "playwright test -c playwright-ct.config.ts --ui", + "test:e2e": "NODE_OPTIONS=--max-old-space-size=8192 playwright test -c playwright-ct.config.ts", + "test:e2e-ui": "NODE_OPTIONS=--max-old-space-size=8192 playwright test -c playwright-ct.config.ts --ui", "benchmark": "BENCHMARKING=true playwright test -c playwright-ct.config.ts -g \"benchmarking & performance test session\"" }, "repository": { @@ -39,7 +39,7 @@ }, "engineStrict": true, "engines": { - "node": ">=18.18.2" + "node": ">=22.15.0" }, "dependencies": { "@codemirror/autocomplete": "^6.17.0",