Skip to content

Commit

Permalink
Fix CircleCI configuration (#6)
Browse files Browse the repository at this point in the history
Closes #5
  • Loading branch information
EpicEric committed Feb 3, 2020
1 parent cec09bb commit 10a13e1
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .circleci/config.yml
@@ -1,13 +1,10 @@
version: 2

defaults: &defaults
working_directory: ~/project
docker:
- image: circleci/node:8.9.1

jobs:
test:
<<: *defaults
working_directory: &working_directory ~/project
docker: &docker
- image: circleci/node:8.9.1
steps:
- checkout
- restore_cache:
Expand All @@ -21,7 +18,8 @@ jobs:
- ./node_modules
- run: npm run coverage
deploy:
<<: *defaults
working_directory: *working_directory
docker: *docker
steps:
- checkout
- restore_cache:
Expand All @@ -39,17 +37,17 @@ jobs:

workflows:
version: 2
pr-acceptance-tests:
jobs:
- test
commit:
jobs:
- test
- test:
filters:
tags:
only: /.*/
- deploy:
requires:
- test
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*$/
only: /^v.*/
branches:
ignore: /.*/

0 comments on commit 10a13e1

Please sign in to comment.