Nuxt/appveyor.yml

39 lines
820 B
YAML
Raw Normal View History

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