Skip to content

Commit

Permalink
Chore: update appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
JPeer264 committed Jul 11, 2020
1 parent e720991 commit df4b48f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ environment:
- nodejs_version: "12"
- nodejs_version: "14"

install:
# Get the latest stable version of Node.js or io.js
- ps: |
try {
Install-Product node $env:nodejs_version $env:platform
} catch {
echo "Unable to install node $env:nodejs_version, trying update..."
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
}
# install modules
- npm config set loglevel warn
- npm i -g npm
- npm ci

test_script:
- npm run lint
- npm test
Expand Down

0 comments on commit df4b48f

Please sign in to comment.