appveyor.yml 543 B

123456789101112131415161718192021222324252627
  1. environment:
  2. nodejs_version: "10"
  3. cache:
  4. - '%LOCALAPPDATA%\Yarn -> appveyor.yml'
  5. - node_modules -> yarn.lock
  6. install:
  7. - ps: Install-Product node $env:nodejs_version x64
  8. - yarn
  9. build: off
  10. build_script:
  11. - ps: Write-Host “Prepack plugin”
  12. - yarn prepack
  13. test_script:
  14. - yarn test
  15. after_test:
  16. - .\node_modules\.bin\nyc report --reporter text-lcov > coverage.lcov
  17. - ps: |
  18. $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
  19. Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
  20. bash codecov.sh