/
appveyor.yml
51 lines (40 loc) · 996 Bytes
/
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
clone_folder: c:\projects\myproject
shallow_clone: true
init:
- git config --global core.autocrlf input
# cache:
# - node_modules # local npm modules
# - '%APPDATA%\npm-cache' # npm cache
environment:
matrix:
- nodejs_version: "16"
#- nodejs_version: "18"
platform:
- x64
#- x86
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm root -g
- echo %APPVEYOR_REPO_COMMIT_MESSAGE%
- npm i -g lerna rollup zx
- npm run bootstrap
- echo %APPVEYOR_REPO_COMMIT_MESSAGE% | .\\node_modules\\.bin\\commitlint
#services:
# - postgresql101
#
before_test:
- SET PGUSER=postgres
- SET PGPASSWORD=Password12!
- SET PATH=C:\Program Files\PostgreSQL\10\bin\;%PATH%
#- psql -U postgres -c "create database db_ci_test;"
test_script:
- openssl version
- node --version
- npm --version
- npm run build
- npm run test
on_success:
#- npm run cov:coveralls
build: off
deploy: off
skip_tags: true