-
Notifications
You must be signed in to change notification settings - Fork 18
/
config.yml
56 lines (56 loc) · 1.46 KB
/
config.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: 2
jobs:
node:
working_directory: ~/misk-web
docker:
- image: circleci/node:10.15
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- dependencies-{{ checksum "common/config/shrinkwrap.yaml" }}
# fallback to using the latest cache if no exact match is found
- dependencies-
- run:
name: Misk-Web Prebuild...
command: sudo npm install -g @misk/cli && miskweb prebuild -e
- run:
name: Checking for inconsistent dependency versions
command: node common/scripts/install-run-rush.js check
- run:
name: Installing...
command: node common/scripts/install-run-rush.js install
- save_cache:
paths:
- common/temp
key: dependencies-{{ checksum "common/config/shrinkwrap.yaml" }}
- run:
name: Building...
command: node common/scripts/install-run-rush.js rebuild --verbose
java:
working_directory: ~/misk-web
docker:
- image: circleci/openjdk:11-jdk
steps:
- checkout
- run:
name: Build Gradle Plugin
command: ./gradlew plugin
workflows:
version: 2
commit:
jobs:
- node
- java
continuous-testing:
jobs:
- node
- java
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master