File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -17,22 +17,16 @@ jobs:
1717
1818
1919 - restore_cache :
20- key : dependency-cache-{{ checksum "package.json" }}
20+ key : dependency-cache-{{ checksum "package.json" }}-{{ checksum "angular-testdrive/package.json" }}
2121 - run : npm i --silent
22+ - run : cd angular-testdrive && npm i --silent
2223 - save_cache :
23- key : dependency-cache-{{ checksum "package.json" }}
24+ key : dependency-cache-{{ checksum "package.json" }}-{{ checksum "angular-testdrive/package.json" }}
2425 paths :
2526 - node_modules
27+ - angular-testdrive/node_modules
2628
2729
28- - run : cd angular-testdrive
29- - restore_cache :
30- key : dependency-cache-{{ checksum "package.json" }}
31- - run : npm i --silent
32- - save_cache :
33- key : dependency-cache-{{ checksum "package.json" }}
34- paths :
35- - node_modules
36- - run : npm run build
37- - run : ../bin/angular-cli-ghpages --repo "$GITHUB_ORG/$NAME.git" --name "$GITHUB_NAME" --email "$GITHUB_EMAIL" --dir=dist/angular-testdrive --cname=angular-cli-ghpages.angular.schule
30+ - run : cd angular-testdrive && npm run build
31+ - run : cd angular-testdrive && ../bin/angular-cli-ghpages --repo "$GITHUB_ORG/$NAME.git" --name "$GITHUB_NAME" --email "$GITHUB_EMAIL" --dir=dist/angular-testdrive --cname=angular-cli-ghpages.angular.schule
3832
You can’t perform that action at this time.
0 commit comments