-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.test.yml
47 lines (46 loc) · 1.24 KB
/
config.test.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
---
version: 2
jobs:
node-latest: &test
build:
docker:
- image: node:latest
working_directory: ~/cli
steps:
- checkout
- restore_cache: &restore_cache
keys:
- v1-npm-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
- v1-npm-{{checksum ".circleci/config.yml"}}
- run:
name: Install dependencies
command: .circleci/greenkeeper
- run: ./bin/run --help
- run:
name: Installing Heroku CLI
command: curl https://cli-assets.heroku.com/install.sh | sh
- run:
name: Setting up plugin
command: yarn global add oclif && heroku plugins:link
- run:
name: Setting up manifest
command: heroku addons:admin:manifest:generate -t
- run:
name: Testing
command: yarn test
- save_cache:
key: v1-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}}
paths:
- ~/cli/node_modules
- /usr/local/share/.cache/yarn
- /usr/local/share/.config/yarn
node-8:
<<: *test
docker:
- image: node:8
workflows:
version: 2
"@heroku-cli/addons-admin":
jobs:
- node-latest
- node-8