mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
95a6a872b6
- [x] Move jest config from npm scripts to `jest.config.js`
- [x] Remove obsolete cross-env package (we don't need it anymore 🎉)
- [x] Fix bug where tests are not waiting for webdriver to be ready.
29 lines
447 B
YAML
29 lines
447 B
YAML
pool:
|
|
vmImage: 'vs2017-win2016'
|
|
|
|
strategy:
|
|
maxParallel: 10
|
|
matrix:
|
|
node-10:
|
|
node_version: ^10.10.0
|
|
node-8:
|
|
node_version: ^8.12.0
|
|
|
|
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: $(node_version)
|
|
displayName: 'Install Node.js'
|
|
|
|
- script: |
|
|
yarn install
|
|
displayName: 'Install dependencies'
|
|
|
|
- script: |
|
|
yarn bootstrap
|
|
displayName: 'Lerna bootstrap'
|
|
|
|
- script: |
|
|
yarn test
|
|
displayName: 'Run tests'
|