mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-08 11:04:15 +00:00
Use configuration instead of env switch for building
This commit is contained in:
parent
4700a153cc
commit
610b7384c5
@ -3,7 +3,7 @@ version: 2
|
||||
jobs:
|
||||
build:
|
||||
macos:
|
||||
xcode: "9.3.0"
|
||||
xcode: "9.4.0"
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
@ -14,6 +14,11 @@ jobs:
|
||||
sudo systemsetup -settimezone Europe/Warsaw
|
||||
echo "Today is $(date +"%Y-%m-%d %T")"
|
||||
|
||||
- run:
|
||||
name: Installed python version
|
||||
command: |
|
||||
python -V
|
||||
|
||||
# - restore_cache:
|
||||
# name: Restore Yarn Package Cache
|
||||
# keys:
|
||||
@ -24,7 +29,7 @@ jobs:
|
||||
name: Install project
|
||||
# there is an issue with yarn and cache during executed on CI; for now we just run it twice, second should
|
||||
# be successful. Check it later if updates fixed the issue
|
||||
|
||||
|
||||
# increased timeout is for material-design-icons
|
||||
command: |
|
||||
yarn install --network-timeout 1000000
|
||||
|
@ -10,10 +10,10 @@
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"startforelectron": "ng serve -e electronDev",
|
||||
"startforelectron": "ng serve --configuration=electronDev",
|
||||
"build": "ng build",
|
||||
"buildforelectron": "ng build -e electronProd",
|
||||
"buildforgithub": "ng build -e githubProd",
|
||||
"buildforelectron": "ng build --configuration=electronProd",
|
||||
"buildforgithub": "ng build --configuration=githubProd",
|
||||
"test": "ng test",
|
||||
"lint": "ng lint",
|
||||
"e2e": "ng e2e",
|
||||
|
Loading…
x
Reference in New Issue
Block a user