-
Notifications
You must be signed in to change notification settings - Fork 18
/
appveyor.yml
76 lines (66 loc) · 1.93 KB
/
appveyor.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# https://github.com/sindresorhus/appveyor-node/blob/master/appveyor.yml
os: unstable
# CLOUD_STORAGE_ENCRYPT_FILE_KEY
max_jobs: 2
environment:
matrix:
- platform: x64
branches:
only:
- null
# - master
# - master-all
# cache:
# - node_modules
# - '%USERPROFILE%\.electron-gyp'
# - '%USERPROFILE%\.node-gyp'
install:
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
- cmd: appveyor-tools\secure-file -decrypt ./dev-assets/cloud-storage-key.json.enc -secret %ENCRYPT_FILE_KEY%
- cmd: appveyor-tools\secure-file -decrypt ./dev-assets/windows-2020-2021.p12.enc -secret %ENCRYPT_FILE_KEY%
- cmd: appveyor-tools\secure-file -decrypt ./dev-assets/code-sign.p12.enc -secret %ENCRYPT_FILE_KEY%
- cmd: appveyor-tools\secure-file -decrypt ./dev-assets/prod.env.enc -secret %ENCRYPT_FILE_KEY%
- ps: Install-Product node 12 x64
# - ps: Install-Product node 12.4.0 x64
# - ps: Install-Product node 10 x64
# - ps: Install-Product node ''
# - ps: Install-Product node 10.15.3 x64
- set CI=true
# - npm install -g npm@latest
- npm install
build: off
matrix:
fast_finish: true
before_build:
- node --version
- npm --version
build_script:
- npm run build-ci
test_script:
- npm run test-ci
after_test:
- npm run upload-ci
# - npm run release-ci
# artifacts:
# - path: build/*.exe
# name: exe
# - path: build/*.blockmap
# name: blockmap
# - path: build/*.zip
# name: zip
# - path: build/*.msi
# name: msi
# - path: build/*.yml
# name: yml
# deploy:
# release: "Current_CI_Build"
# description: 'Release description'
# provider: GitHub
# auth_token:
# secure: w086h7SsN4ZengkZWbBDWzE2wcX3yNc9lM9vS0d7KD7ED0OSuUeGTEakTvJQzOAH # your encrypted token from GitHub
# artifact: exe, blockmap, zip, msi, yml
# draft: true
# prerelease: true
# force_update: true
# on:
# APPVEYOR_REPO_TAG: false