forked from typicode/husky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
36 lines (32 loc) · 831 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Test against the latest version of this Node.js version
environment:
nodejs_version: "10"
# 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
- npm ci
cache:
- '%APPDATA%\npm-cache'
- node_modules
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# Run tests
- npm test
# Run post-checkout hook test
- npm run devinstall
- cat .git/hooks/post-checkout
- git checkout
- node scripts/ci-post-checkout-check
# Should not fail due to missing script
- node scripts/ci-break-path.js
- cat .git/hooks/post-checkout
- git checkout
# Test uninstall
- npm run devuninstall
# Don't actually build.
build: off