mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
chore(ci): improve the workflow publishing doc only when releasing
This commit is contained in:
parent
f4a4f02c9b
commit
40c1abca8b
1 changed files with 17 additions and 15 deletions
|
@ -32,7 +32,7 @@ aliases:
|
|||
restore_cache:
|
||||
keys:
|
||||
- *repo_key
|
||||
- &ignore_branches
|
||||
- &ignore_non_dev_branches
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
|
@ -41,6 +41,13 @@ aliases:
|
|||
- gh-pages
|
||||
- l10n_master
|
||||
- /release\/.*/
|
||||
- &execute_on_release
|
||||
filters:
|
||||
tags:
|
||||
only: /(v)?[0-9]+(\.[0-9]+)*/
|
||||
branches:
|
||||
ignore:
|
||||
- /.*/
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
|
@ -187,27 +194,27 @@ workflows:
|
|||
workflow:
|
||||
jobs:
|
||||
- prepare:
|
||||
<<: *ignore_branches
|
||||
<<: *ignore_non_dev_branches
|
||||
- test_node6:
|
||||
requires:
|
||||
- prepare
|
||||
<<: *ignore_branches
|
||||
<<: *ignore_non_dev_branches
|
||||
- test_node8:
|
||||
requires:
|
||||
- prepare
|
||||
<<: *ignore_branches
|
||||
<<: *ignore_non_dev_branches
|
||||
- test_node9:
|
||||
requires:
|
||||
- prepare
|
||||
<<: *ignore_branches
|
||||
<<: *ignore_non_dev_branches
|
||||
- test_node10:
|
||||
requires:
|
||||
- prepare
|
||||
<<: *ignore_branches
|
||||
<<: *ignore_non_dev_branches
|
||||
- test_e2e:
|
||||
requires:
|
||||
- prepare
|
||||
<<: *ignore_branches
|
||||
<<: *ignore_non_dev_branches
|
||||
- coverage:
|
||||
requires:
|
||||
- test_node6
|
||||
|
@ -215,7 +222,7 @@ workflows:
|
|||
- test_node9
|
||||
- test_node10
|
||||
- test_e2e
|
||||
<<: *ignore_branches
|
||||
<<: *ignore_non_dev_branches
|
||||
- publish_gh_pages:
|
||||
requires:
|
||||
- test_node6
|
||||
|
@ -223,14 +230,9 @@ workflows:
|
|||
- test_node9
|
||||
- test_node10
|
||||
- test_e2e
|
||||
<<: *ignore_branches
|
||||
<<: *execute_on_release
|
||||
- publish_package:
|
||||
requires:
|
||||
- coverage
|
||||
- publish_gh_pages
|
||||
filters:
|
||||
tags:
|
||||
only: /(v)?[0-9]+(\.[0-9]+)*/
|
||||
branches:
|
||||
ignore:
|
||||
- /.*/
|
||||
<<: *execute_on_release
|
||||
|
|
Loading…
Reference in a new issue