Skip to content

Commit 210da72

Browse files
authored
fixing angular install in ci pipline
1 parent 461c56e commit 210da72

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.drone.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ type: docker
33
name: ci
44

55
steps:
6-
7-
#- name: "Install angular-cli"
8-
# image: node:10
9-
# commands:
10-
# - "npm install -g @angular/cli"
11-
6+
127
- name: "Install dependencies"
138
image: node:10
149
commands:
@@ -20,12 +15,12 @@ steps:
2015
failure: ignore # only until PhantomJS is working, after that, this line should be deleted !
2116
commands:
2217
- cd brainkeeper
23-
- "npm install @angular/cli"
18+
- "npm install -g @angular/cli"
2419
- "ng test --browsers PhantomJS"
2520

2621
- name: "Lint"
2722
image: node:10
2823
commands:
2924
- cd brainkeeper
30-
- "npm install @angular/cli"
25+
- "npm install -g @angular/cli"
3126
- ng lint

0 commit comments

Comments
 (0)