Skip to content

Commit

Permalink
fix(workspace): fix CI build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Jun 24, 2020
1 parent e24d606 commit 292e56e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ install:
script:
# run build script specified in package.json
- npm run ci
- npm run ci
# call script for deploying of produced artifacts
- bash ./.travis-deploy.sh
after_success:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"test": "ng lint && ng test --configuration=test",
"watch": "ng test --configuration=test --browsers ChromeHeadless --watch --reporters dots",
"e2e": "ng e2e",
"ci": "npm run format:test && ng lint && ng test --configuration=test --browsers ChromeTravisCi --code-coverage && npm run e2e && npm run build:prod -- --deploy-url /angular-ngrx-material-starter/ --base-href /angular-ngrx-material-starter",
"e2e:ci": "ng e2e --webdriver-update false",
"pree2e:ci": "webdriver-manager clean && webdriver-manager update --versions.chrome=62.0.3202",
"ci": "npm run format:test && ng lint && ng test --configuration=test --browsers ChromeTravisCi --code-coverage && npm run e2e:ci && npm run build:prod -- --deploy-url /angular-ngrx-material-starter/ --base-href /angular-ngrx-material-starter",
"format:write": "prettier projects/**/*.{ts,json,md,scss} --write",
"format:test": "prettier projects/**/*.{ts,json,md,scss} --list-different",
"release": "standard-version && git push --follow-tags origin master",
Expand Down

0 comments on commit 292e56e

Please sign in to comment.