From 5497d72602486de9df76948501eb9e1cde395205 Mon Sep 17 00:00:00 2001 From: Yuyao Huang <106633493+huangyuyao@users.noreply.github.com> Date: Wed, 24 Apr 2024 22:54:12 -0400 Subject: [PATCH] Update .travis.yml --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0ce777c97427f..f00dac280d2f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,11 @@ cache: # Use the install step to install dependencies and any specific global packages install: - - npm install # Install dependencies listed in your package.json file - - npm install -g typescript # Install TypeScript globally + - nvm install 18.15 + - yarn install # Install dependencies listed in your package.json file + - yarn install -g typescript # Install TypeScript globally # Use the script step to compile TypeScript and run any tests or other scripts script: - tsc # Compile TypeScript files - - npm test # Run tests specified in the package.json scripts section + - yarn test # Run tests specified in the package.json scripts section