Skip to content

Commit

Permalink
update to yarn in appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Garrett committed Nov 19, 2019
1 parent f9ccaa3 commit 42997b1
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,22 @@ environment:
- nodejs_version: "8"
- nodejs_version: "10"

cache:
- '%APPDATA%\npm-cache'

# Install scripts. (runs after repo cloning)
install:
- git rev-parse HEAD
# Get the latest stable version of Node 0.STABLE.latest
- ps: Install-Product node $env:nodejs_version
# Typical npm stuff.
- md C:\nc
- npm config set cache C:\nc
- npm version
- npm install phantomjs-prebuilt
- npm install mocha-appveyor-reporter
- npm install --no-optional
- yarn config set cache C:\nc
- yarn add phantomjs-prebuilt --ignore-engines
- yarn add mocha-appveyor-reporter --ignore-engines
- yarn install --ignore-engines

# Post-install test scripts.
test_script:
# Output useful info for debugging.
- npm version
- cmd: npm test
- cmd: yarn test

# Don't actually build.
build: off
Expand Down

0 comments on commit 42997b1

Please sign in to comment.