Skip to content

Commit

Permalink
Merge pull request #69 from aurelia/new-workflow
Browse files Browse the repository at this point in the history
chore(all): implement new workflow
  • Loading branch information
fkleuver committed Feb 3, 2019
2 parents d823d2e + 4be6e7a commit 7cabede
Show file tree
Hide file tree
Showing 16 changed files with 53 additions and 5,274 deletions.
45 changes: 45 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,45 @@
version: 2.1

map-1: &filter_only_develop
filters:
branches:
only: develop

map-2: &filter_only_tag
filters:
branches:
ignore: /.*/
tags:
only: /^v?[0-9]+(\.[0-9]+)*$/

orbs:
v1: aurelia/v1@volatile

workflows:
main:
jobs:
- v1/build_test
- v1/build_merge:
<<: *filter_only_develop
requires:
- v1/build_test
- v1/npm_publish:
<<: *filter_only_tag
name: npm_publish_dry
args: "--dry-run"
- request_publish_latest:
<<: *filter_only_tag
type: approval
requires:
- npm_publish_dry
- v1/npm_publish:
<<: *filter_only_tag
name: npm_publish
context: Aurelia
requires:
- request_publish_latest
- v1/merge_back:
<<: *filter_only_tag
requires:
- npm_publish

1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@ bower_components
.idea
.DS_STORE
build/reports
dist

0 comments on commit 7cabede

Please sign in to comment.