Skip to content

Commit 8abbacf

Browse files
committed
Cache npm packages, try to trigger failure
1 parent cfbd54b commit 8abbacf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/smoke-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ jobs:
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node }}
23+
cache: npm
2324
- run: npm ci
2425
- run: npm run test-smoke

packages/cli-repl/src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ async function ask(prompt: string): Promise<string> {
323323
*/
324324
function suppressExperimentalWarnings() {
325325
const nodeMajorVersion = process.versions.node.split('.').map(Number)[0];
326-
if (nodeMajorVersion >= 23) {
326+
if (nodeMajorVersion >= 24) {
327327
const originalEmit = process.emitWarning;
328328
process.emitWarning = (warning, ...args: any[]): void => {
329329
if (args[0] === 'ExperimentalWarning') {

0 commit comments

Comments
 (0)