Files
koodo-reader/appveyor.yml
troyeguo b70bbcd734 fix bug
Former-commit-id: 57ed8064e06df6391fe2e31c736bc0100041463f
2021-04-08 22:49:37 +08:00

40 lines
716 B
YAML

version: 0.1.{build}
branches:
only:
- master
image:
# - Visual Studio 2019
# - macos
- Ubuntu
stack: node 10
cache:
- node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
- '%USERPROFILE%\AppData\Local\Yarn\cache'
init:
- git config --global core.autocrlf input
- sh: |
if [ "${APPVEYOR_BUILD_WORKER_IMAGE}" == "Ubuntu" ]
then
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils
sudo apt-get install snapd
sudo snap install snapcraft --classic
sudo apt-get install -y rpm
fi
install:
- git reset --hard HEAD
- npm install
- node --version
build_script:
- npm run release
test: off