-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
32 lines (27 loc) · 832 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
# Output useful info for debugging.
# npm should be > v6 (for "npm ci" command and good package lock handling)
- node --version
- npm --version
- npm ci
- npx cypress cache path
cache:
# cache NPM packages and Cypress binary
- '%AppData%\npm'
- '%USERPROFILE%\AppData\Local\Cypress\Cache'
# Post-install test scripts.
test_script:
- npx cypress version
- npx cypress verify
- ps: $ServerProcess = Start-Process npm start -PassThru
- npm run cypress:run -- --record
on_finish:
- ps: Stop-Process -Id $ServerProcess.Id
# Don't actually build.
build: off