diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..220bba58e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,33 @@ +image: Visual Studio 2017 + +platform: + - x64 + +environment: + matrix: + - nodejs_version: 10 + +cache: + - '%LOCALAPPDATA%/Yarn' + - node_modules -> package.json + - flow-typed + - '%USERPROFILE%\.electron' + +matrix: + fast_finish: true + +build: off + +version: '{build}' + +shallow_clone: true + +clone_depth: 1 + +install: + - ps: Install-Product node $env:nodejs_version x64 + - set CI=true + - yarn + +test_script: + - yarn package-all \ No newline at end of file diff --git a/package.json b/package.json index d3f778f4e..664617f31 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lint-styles-fix": "yarn --silent lint-styles --fix; exit 0", "package": "yarn build && electron-builder build --publish never", "package-all": "yarn build && electron-builder build -mwl", - "package-ci": "yarn postinstall && yarn build && electron-builder -mwl --publish onTag", + "package-ci": "yarn postinstall && yarn build && electron-builder --publish onTag", "package-linux": "yarn build && electron-builder build --linux", "package-win": "yarn build && electron-builder build --win --x64", "postinstall": "yarn flow-typed && yarn build-dll && electron-builder install-app-deps package.json",