diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b51bb4..6de9d47 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,13 @@ defaults: &defaults docker: - image: circleci/node:8.9 + +default_filters_tag: &default_filters_tag + branches: + ignore: /.*/ + tags: + only: /v.*/ + version: 2 jobs: test: @@ -94,11 +101,7 @@ workflows: - release: requires: - test - filters: - branches: - ignore: /.*/ - tags: - only: /v.*/ + filters: *default_filters_tag - "approval-stage": type: approval requires: @@ -110,16 +113,8 @@ workflows: type: approval requires: - release - filters: - branches: - ignore: /.*/ - tags: - only: /v.*/ + filters: *default_filters_tag - "deploy-production": requires: - "approval-production" - filters: - branches: - ignore: /.*/ - tags: - only: /v.*/ \ No newline at end of file + filters: *default_filters_tag \ No newline at end of file diff --git a/README.md b/README.md index eb34a25..8b2e224 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,6 @@ ![Github All Releases](https://img.shields.io/github/downloads/pedroarapua/coveralls-teste/total.svg) ![Travis branch](https://img.shields.io/travis/pedroarapua/coveralls-teste.svg) [![Coverage Status](https://coveralls.io/repos/pedroarapua/coveralls-teste/badge.svg?branch=master)](https://coveralls.io/r/pedroarapua/coveralls-teste?branch=master) -[![Quality Gate](https://sonarcloud.io/api/badges/gate?key=coveralls-teste)](https://sonarcloud.io/dashboard/index/coveralls-teste) \ No newline at end of file +[![Quality Gate](https://sonarcloud.io/api/badges/gate?key=coveralls-teste)](https://sonarcloud.io/dashboard/index/coveralls-teste) + +ola teste1 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 26853c2..74a8235 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "coveralls-teste", - "version": "1.0.12", + "version": "1.0.14", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c3fed3b..9064b06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coveralls-teste", - "version": "1.0.12", + "version": "1.0.14", "description": "", "main": "index.js", "scripts": {