Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyuyao authored Apr 25, 2024
1 parent 9cb330e commit 5497d72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5497d72

Please sign in to comment.