-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (32 loc) · 1.13 KB
/
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
# https://www.appveyor.com/docs/lang/nodejs-iojs/
# Test against the latest version of this Node.js version
environment:
nodejs_version: "12"
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
# Output useful info for debugging.
- node --version
- npm --version
- node -e "console.log(process.platform)"
- node -e "console.log(process.arch)"
# print cached dependencies
- echo '%AppData%\npm-cache'
- echo '%USERPROFILE%\AppData\Local\Cypress\Cache'
- ls '%AppData%\npm-cache' || true
- ls '%USERPROFILE%\AppData\Local\Cypress\Cache' || true
- npm ci
cache:
# cache NPM packages and Cypress binary
# https://www.appveyor.com/docs/build-cache/
# https://docs.npmjs.com/files/folders.html#cache
# https://on.cypress.io/caching
- '%AppData%\npm-cache'
- '%USERPROFILE%\AppData\Local\Cypress\Cache'
# Note: by default cache is only saved for successful builds
# you can save cache from the failed builds
# using APPVEYOR_SAVE_CACHE_ON_ERROR: true environment variable
test_script:
- npm run ci
# Don't actually build, we are only interested in tests
build: off