blob: 98a9825a1f21e9fde26d8aec0a69ec490b204334 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
version: build-{build}
branches:
only:
- release
skip_tags: true
skip_branch_with_pr: true
cache:
- '%APPDATA%\npm-cache'
- node_modules
- '%USERPROFILE%\.electron'
- '%USERPROFILE%\.electron-builder'
image: Visual Studio 2019
environment:
nodejs_version: "14.15.0"
install:
- appveyor-retry git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version
- cmd: set NODE_OPTIONS=--max-old-space-size=2048
- 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
-
branches:
only:
- release
build_script:
- appveyor-retry npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=ferdi
|