forked from cypress-io/cypress-example-kitchensink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (28 loc) · 871 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
# https://www.appveyor.com/docs/lang/nodejs-iojs/
# Test against the latest version of this Node.js version
environment:
nodejs_version: "10"
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
# NPM v3 has flaky permission issues on Windows
- npm install -g npm@6
# Output useful info for debugging.
- node --version
- npm --version
- npm i -g commit-message-install @bahmutov/print-env
- print-env APPVEYOR
- commit-message-install --else "npm ci"
cache:
# cache NPM packages and Cypress binary
- '%AppData%\npm'
- '%USERPROFILE%\AppData\Local\Cypress\Cache'
# Post-install test scripts.
test_script:
# only run if there is commit message
# with new version
- run-if npm run cy:version
- run-if npm run cy:verify
- run-if npm run test:ci:record
# Don't actually build.
build: off