-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
58 lines (51 loc) · 1.31 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
version: 1.0.{build}
branches:
only:
- main
# - develop
# Test against this version of Node.js
environment:
nodejs_version: "20"
angular_version: "17.3.6"
build: off
install:
#- ps: Update-NodeJsInstallation $env:nodejs_version
- ps: Install-Product node $env:nodejs_version
- ps: '"//registry.npmjs.org/:_authToken=$env:npm_auth_token`n" | out-file "$env:userprofile\.npmrc" -Encoding ASCII'
- ps: npm whoami
#- ps: npm install -g @angular/cli@$env:angular_version
- ps: npm install
before_build:
- node --version
- npm --version
- ng version
# - ng test --watch false --single-run true
build_script:
# Publish ng-auth
- cd projects/ng-auth && npm version patch && cd ../..
- npm run build-auth
- cd dist/ng-auth && npm publish
# Publish ng-components
- cd projects/ng-components && npm version patch && cd ../..
- npm run build-components
- npm run postbuild-components
- cd dist/ng-components && npm publish
artifacts:
- path: dist/ng-auth
name: ng-auth
- path: dist/ng-components
name: ng-components
#deploy:
#- provider: Environment
# name: Core.Web (STAGE)
# on:
# branch: stage
notifications:
- provider: Email
to:
- itsenes@indice.gr
- d.karkanas@indice.gr
- e.travlos@indice.gr
on_build_success: true
on_build_failure: true
on_build_status_changed: true