aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
blob: b09759a42c95523cdf4d147b503c861866596e15 (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
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
  - cd recipes && npm install && npm run package && cd ..
  - 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
  only_commits:
    message: /trigger AppVeyor nightly build/
  build_script:
    - appveyor-retry npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies