feat(ci-cd): CI and build with appveyor

This commit is contained in:
Bouncey
2018-10-05 14:08:12 +01:00
committed by Beau Carnes
parent ac1ea780fc
commit 0ab4dbe5d2

36
appveyor.yml Normal file
View File

@ -0,0 +1,36 @@
platform:
- x64
image: ubuntu
skip_branch_with_pr: false
skip_commits:
files:
- .github/**
- api-server/**
- curriculum/**
- docs/**
- news/**
- public/**
- seed/**
- tools/**
- "./*.md"
environment:
nodejs_version: "8"
# Install scripts. (runs after repo cloning)
install:
- echo This client build is built on %buildon% and the commit tag is %APPVEYOR_REPO_TAG% and the tag is %APPVEYOR_REPO_TAG_NAME%
- ps: Install-Product node $env:nodejs_version $env:platform
- refreshenv
- echo we are running on %PLATFORM%
- node --version
- npm install
- npm test
build_script:
- cd client
- npm run build
deploy: off