mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
9c1e0d1743
Co-authored-by: Clark Du <clark.duxin@gmail.com> Co-authored-by: Pooya Parsa <pooya@pi0.ir>
39 lines
820 B
YAML
39 lines
820 B
YAML
# Test against the latest version of this Node.js version
|
|
environment:
|
|
nodejs_version: "Current"
|
|
|
|
cache:
|
|
- 'node_modules -> yarn.lock'
|
|
- '%LOCALAPPDATA%\\Yarn -> yarn.lock'
|
|
|
|
image: Visual Studio 2017
|
|
|
|
shallow_clone: true
|
|
|
|
# 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
|
|
- yarn install
|
|
# Link dependencies
|
|
- yarn lerna link
|
|
# Build packages
|
|
- yarn build
|
|
|
|
# Post-install test scripts.
|
|
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
|
|
|
|
# Don't actually build.
|
|
build: off
|
|
|
|
# Do not build feature branch with open Pull Requests
|
|
skip_branch_with_pr: true
|