From 69ceeacf75f95ff5047a1564e3f6c4d16c314824 Mon Sep 17 00:00:00 2001 From: Phil Jay Date: Mon, 10 Aug 2026 12:19:10 +1000 Subject: [PATCH] Add integration test for API + CC error --- .github/workflows/test-and-release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 4980df7..193dafe 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -67,6 +67,18 @@ jobs: shell: bash 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 needs: - lint