Nuxt/appveyor.yml

39 lines
820 B
YAML
Raw Normal View History

2018-10-23 09:55:08 +00:00
# Test against the latest version of this Node.js version
environment:
nodejs_version: "Current"
2018-10-23 10:06:14 +00:00
cache:
2018-10-23 09:55:08 +00:00
- 'node_modules -> yarn.lock'
- '%LOCALAPPDATA%\\Yarn -> yarn.lock'
2018-10-23 10:06:14 +00:00
image: Visual Studio 2017
shallow_clone: true
# Install scripts. (runs after repo cloning)
2018-10-23 09:55:08 +00:00
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# Install modules
- yarn install
# Link dependencies
- yarn lerna link
# Build packages
- yarn build
2018-10-23 10:06:14 +00:00
# Post-install test scripts.
2018-10-23 09:55:08 +00:00
test_script:
# Output useful info for debugging.
- node --version
# - npm --version
- yarn --version
# run tests
- yarn test:fixtures -w=2
- yarn test:unit -w=2
2018-10-23 10:06:14 +00:00
# Don't actually build.
2018-10-23 09:55:08 +00:00
build: off
2018-10-23 10:06:14 +00:00
# Do not build feature branch with open Pull Requests
2018-10-23 09:55:08 +00:00
skip_branch_with_pr: true