-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
34 lines (30 loc) · 817 Bytes
/
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
version: 2
jobs:
build:
branches:
only:
- master
docker:
- image: circleci/node:8.11-browsers
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# Fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# Run tests
- run: yarn test
- run: yarn build
# - deploy:
# command: |
# git config --global user.email $GH_EMAIL
# git config --global user.name $GH_NAME
# yarn deploy