mirror of
https://github.com/reecetech/version-increment.git
synced 2026-08-18 11:07:50 +00:00
Add integration test for API + CC error
This commit is contained in:
12
.github/workflows/test-and-release.yml
vendored
12
.github/workflows/test-and-release.yml
vendored
@@ -67,6 +67,18 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: '[[ "$(date +%Y.%-m)" == "$(echo "${{ steps.version-increment.outputs.VERSION }}" | cut -d "." -f 1-2)" ]]'
|
run: '[[ "$(date +%Y.%-m)" == "$(echo "${{ steps.version-increment.outputs.VERSION }}" | cut -d "." -f 1-2)" ]]'
|
||||||
|
|
||||||
|
- name: Test conventional commit increment version (with API)
|
||||||
|
id: version-increment-conventional
|
||||||
|
run: ./version-increment.sh
|
||||||
|
env:
|
||||||
|
current_version: 1.2.3
|
||||||
|
scheme: conventional_commits
|
||||||
|
use_api: 'true'
|
||||||
|
|
||||||
|
- name: Check conventional commit increment result
|
||||||
|
shell: bash
|
||||||
|
run: '[[ -n "${{ steps.version-increment-conventional.outputs.VERSION }}" ]]'
|
||||||
|
|
||||||
test-action-yml: # integration testing
|
test-action-yml: # integration testing
|
||||||
needs:
|
needs:
|
||||||
- lint
|
- lint
|
||||||
|
|||||||
Reference in New Issue
Block a user