forked from egoist/rollup-plugin-postcss
-
Notifications
You must be signed in to change notification settings - Fork 2
/
circle.yml
31 lines (30 loc) · 778 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
version: 2
jobs:
build:
working_directory: ~/repo
docker:
- image: circleci/node:lts
branches:
ignore:
- gh-pages # list of branches to ignore
- /release\/.*/ # or ignore regexes
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: install dependences
command: yarn
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: test
command: yarn test:cov
- run:
name: upload coverage
command: bash <(curl -s https://codecov.io/bash)
- run:
name: release
command: npx semantic-release