Skip to content

Commit b6e0611

Browse files
committed
circleci: sudo -E to preserve env NG_CLI_ANALYTICS
1 parent 0c21818 commit b6e0611

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ jobs:
44
build:
55

66
environment:
7+
NG_CLI_ANALYTICS: ci
78
GITHUB_ORG: https://github.com/angular-schule
89
GITHUB_NAME: The Buildbot
910
GITHUB_EMAIL: [email protected]
1011
NAME: angular-cli-ghpages
1112

1213
docker:
1314
- image: circleci/node:12-browsers
14-
environment:
15-
NG_CLI_ANALYTICS: ci
15+
1616
steps:
1717
- checkout
1818

@@ -27,7 +27,7 @@ jobs:
2727
- run: cd src && npm run test
2828
- run: cd src/dist && sudo npm link
2929

30-
- run: sudo npm install -g @angular/cli@next
30+
- run: sudo -E npm install -g @angular/cli@next
3131
- run: ng new your-angular-project --defaults
3232
- run: cd new your-angular-project && npm link angular-cli-ghpages
3333
- run: cd new your-angular-project && ng add angular-cli-ghpages

src/angular-cli-ghpages

100644100755
File mode changed.

0 commit comments

Comments
 (0)