Skip to content

Commit

Permalink
Cache npm packages, try to trigger failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Nov 12, 2024
1 parent cfbd54b commit 8abbacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/cli-repl/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ async function ask(prompt: string): Promise<string> {
*/
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') {
Expand Down

0 comments on commit 8abbacf

Please sign in to comment.