Skip to content
Permalink
Browse files

ci(circle): Add CircleCI config

  • Loading branch information...
exactlyaron committed Jul 4, 2019
1 parent b02bdd4 commit 475cae6f06304dece3553f74d1d3a52fbbc0dd7e
Showing with 52 additions and 0 deletions.
  1. +52 −0 .circleci/config.yml
@@ -0,0 +1,52 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
test:
docker:
# use node:lts
- image: circleci/node:lts
environment:
TZ: "Europe/London"
working_directory: ~/repo
steps:
- checkout
- run:
name: install
command: npm install
- run:
name: test
command: npm test
- run:
name: codecov
command: npm run coverage
release:
docker:
# use node:lts
- image: circleci/node:lts
environment:
TZ: "Europe/London"
working_directory: ~/repo
steps:
- checkout
- run:
name: install
command: npm install
- run:
name: release
command: npx semantic-release


workflows:
version: 2
test_and_release:
jobs:
- test
- release:
requires:
- test
filters:
branches:
only: master

0 comments on commit 475cae6

Please sign in to comment.
You can’t perform that action at this time.