aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
blob: d6e909f9c9777107cf8094e3f7a588d7f40e8b3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: build-{build}
branches:
  only:
    - release
    - nightly
skip_tags: true
skip_branch_with_pr: true

cache:
  - '%APPDATA%\npm-cache'
  - node_modules

install:
  - appveyor-retry git submodule update --init --recursive
  - ps: Install-Product node 10
  - appveyor-retry npx lerna bootstrap

before_build:
  - npm run lint && npm test
  - cmd: set NODE_ENV=production

build_script:
  - appveyor-retry npm run build

for:
-
  branches:
    only:
      - nightly
  before_build:
    - npm version prerelease --preid=nightly --no-git-tag-version
  build_script:
    - appveyor-retry npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies