Files
create-react-app/appveyor.yml
Maël Nison 9e074bbf08 Plug'n'Play support (#5136)
* Adds the PnP plugin for Webpack to find dependencies when working under PnP

* Adds configuration for jest

* Adds an e2e test for when using PnP

* Avoids cra from crashing at the engine check

* Avoids cra from crashing when initializing react-scripts

* Makes the ownPath portable

* Fixes linting

* Bumps to pnp-webpack-plugin@1.1.0, removes symlinks: false

* Adds a --use-pnp option

* Pin version
2018-10-01 15:53:07 +01:00

55 lines
1.2 KiB
YAML

image: Visual Studio 2017
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
APPVEYOR_BUILD_WORKER_CLOUD: 'GCE'
matrix:
- nodejs_version: 10
test_suite: 'simple'
- nodejs_version: 10
test_suite: 'installs'
- nodejs_version: 10
test_suite: 'kitchensink'
- nodejs_version: 10
test_suite: 'kitchensink-eject'
- nodejs_version: 8
test_suite: 'simple'
- nodejs_version: 8
test_suite: 'installs'
- nodejs_version: 8
test_suite: 'kitchensink'
- nodejs_version: 8
test_suite: 'kitchensink-eject'
cache:
- '%APPDATA%\npm-cache -> appveyor.cleanup-cache.txt'
- '%LOCALAPPDATA%\Yarn\Cache -> appveyor.cleanup-cache.txt'
clone_depth: 50
matrix:
fast_finish: true
allow_failures:
- test_suite: 'installs'
platform:
- x64
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- ps: |
(New-Object Net.WebClient).DownloadFile("https://nightly.yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
cmd /c start /wait msiexec.exe /i $env:temp\yarn.msi /quiet /qn /norestart
build: off
skip_commits:
files:
- '**/*.md'
test_script:
- node --version
- npm --version
- yarn --version
- yarn cache dir
- bash tasks/e2e-%test_suite%.sh