forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (32 loc) · 863 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: 2
jobs:
build:
working_directory: ~/ionic/
docker:
- image: node:8
branches:
# ignore:
# - core
steps:
- checkout
- restore_cache:
key: node_modules_{{ checksum "package.json" }}
- run:
name: Install monorepo node modules
command: npm i
- save_cache:
key: node_modules_{{ checksum "package.json" }}
paths:
- ~/ionic/node_modules/
- restore_cache:
key: node_modules_{{ checksum "core/package.json" }}
- run:
name: Install core node modules
command: npm --prefix core/ i
- save_cache:
key: node_modules_{{ checksum "core/package.json" }}
paths:
- ~/ionic/core/node_modules/
- run:
name: Validate Core
command: npm --prefix core/ run validate