-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
36 lines (29 loc) · 817 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
environment:
matrix:
- nodejs_version: "18"
- nodejs_version: ""
DEBUG: "create-react-app-updater,boilerplate-update,git-diff-apply"
branches:
only:
- main
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf true
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- where npx
# don't accidentally use the global npx
- ps: rm "C:\Program Files\nodejs\npx*"
- ps: rm C:\Users\appveyor\AppData\Roaming\npm\npx*
# test that we can't find it
- ps: if (gcm npx) { exit }
- npm ci
# Post-install test scripts.
test_script:
- npm test
# http://help.appveyor.com/discussions/questions/1310-delete-cache
cache:
- node_modules -> package-lock.json
# Don't actually build.
build: off