diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 3804a5020..4a9f559d2 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -20,5 +20,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} + cache: npm - run: npm ci - run: npm run test-smoke diff --git a/packages/cli-repl/src/run.ts b/packages/cli-repl/src/run.ts index 3763ade36..d49c8ad53 100644 --- a/packages/cli-repl/src/run.ts +++ b/packages/cli-repl/src/run.ts @@ -323,7 +323,7 @@ async function ask(prompt: string): Promise { */ function suppressExperimentalWarnings() { const nodeMajorVersion = process.versions.node.split('.').map(Number)[0]; - if (nodeMajorVersion >= 23) { + if (nodeMajorVersion >= 24) { const originalEmit = process.emitWarning; process.emitWarning = (warning, ...args: any[]): void => { if (args[0] === 'ExperimentalWarning') {