Skip to content

Commit f388286

Browse files
DaRamirezSotoDaRamirezSoto
authored andcommitted
Update appveyor to use yarn instead of npm and auto fix windows line endings
1 parent 5c2157e commit f388286

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

appveyor.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
cache:
22
- node_modules
3+
- "%LOCALAPPDATA%\\Yarn"
4+
5+
init:
6+
- git config --global core.autocrlf true
37

48
environment:
5-
matrix:
6-
- nodejs_version: "6"
9+
nodejs_version: "6"
710

811
platform:
912
- x86
1013
- x64
1114

1215
install:
1316
- ps: Install-Product node $env:nodejs_version $env:platform
14-
- npm install
17+
- yarn
1518

1619
test_script:
1720
- node --version
18-
- npm --version
19-
- npm run test
21+
- yarn --version
22+
- yarn run test
2023

2124
build: off

0 commit comments

Comments
 (0)