Skip to content

Commit 3028ca3

Browse files
committed
ci: run automation-utils tests on the release build runners
1 parent c2db200 commit 3028ca3

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/BuildJobs.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ jobs:
6666
- name: Verify changelog entries
6767
run: pnpm run -w check-changelogs
6868
if: >-
69-
${{ github.event_name == 'pull_request' && github.event.pull_request.user.login != 'uicontent' }}
69+
${{ github.event_name == 'pull_request' && github.event.pull_request.user.login != 'uicontent' }}
7070
env:
71-
BASE_SHA: ${{ github.event.pull_request.base.sha }}
72-
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
71+
BASE_SHA: ${{ github.event.pull_request.base.sha }}
72+
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
7373

7474
mxversion:
7575
name: Read versions file
@@ -134,6 +134,10 @@ jobs:
134134
turbo-cache-${{ runner.os }}-${{ matrix.target }}
135135
- name: Install dependencies
136136
run: pnpm install
137+
# Exercises the release scripts' file and zip helpers with the runner's own tooling
138+
# (zip/unzip on Linux, PowerShell on Windows), so a break shows up before a release does.
139+
- name: Test release scripts
140+
run: pnpm --filter @mendix/automation-utils run test
137141
- name: Run ${{ matrix.target }} task
138142
run: pnpm run ${{ matrix.target }} --concurrency=1 ${{ env.since_flag }}
139143
env:

0 commit comments

Comments
 (0)