Skip to content

Commit 0dbb588

Browse files
committed
ci(add-release-to-pipeline): release notes (#33)
1 parent b1b5513 commit 0dbb588

3 files changed

Lines changed: 1738 additions & 2450 deletions

File tree

.circleci/config.yml

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,34 @@
1-
# Javascript Node CircleCI 2.0 configuration file
2-
#
3-
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4-
#
51
version: 2
62
jobs:
73
build:
8-
docker:
9-
# specify the version you desire here
4+
docker: &docker_image
105
- image: circleci/node:7.10
116

12-
# Specify service dependencies here if necessary
13-
# CircleCI maintains a library of pre-built images
14-
# documented at https://circleci.com/docs/2.0/circleci-images/
15-
# - image: circleci/mongo:3.4.4
16-
177
steps:
188
- checkout
19-
20-
# Download and cache dependencies
219
- restore_cache:
2210
keys:
2311
- v1-dependencies-{{ checksum "package.json" }}
24-
# fallback to using the latest cache if no exact match is found
2512
- v1-dependencies-
2613

27-
- run: npm install
28-
29-
- save_cache:
30-
paths:
31-
- node_modules
32-
key: v1-dependencies-{{ checksum "package.json" }}
33-
34-
# run tests!
3514
- run:
3615
name: Test
37-
command: npm run test:coverage
16+
command: |
17+
npm install
18+
npm run test:coverage
19+
3820
- run:
3921
name: Codecov
4022
command: CODECOV_TOKEN=${CODECOV_TOKEN} npm run codecov
4123
when: always
24+
25+
- save_cache:
26+
paths:
27+
- node_modules
28+
key: v1-dependencies-{{ checksum "package.json" }}
29+
30+
workflows:
31+
version: 2
32+
build-and-deploy:
33+
jobs:
34+
- build

0 commit comments

Comments
 (0)