From 0ab4dbe5d21ebb530fca5642f01e2d09d92c9571 Mon Sep 17 00:00:00 2001 From: Bouncey Date: Fri, 5 Oct 2018 14:08:12 +0100 Subject: [PATCH] feat(ci-cd): CI and build with appveyor --- appveyor.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000000..88bc5c99bc --- /dev/null +++ b/appveyor.yml @@ -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