Skip to content

Commit 9d56da3

Browse files
authored
Merge branch 'main' into feat/reconcile-retry-remote-web
2 parents b28762d + e58e68d commit 9d56da3

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/workflows/desktop-release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ jobs:
171171
- run: pnpm install --frozen-lockfile
172172

173173
- name: Configure desktop release
174+
shell: bash
174175
env:
175176
DESKTOP_CHANNEL: ${{ needs.prepare.outputs.channel }}
176177
DESKTOP_VERSION: ${{ needs.prepare.outputs.version }}
@@ -355,6 +356,7 @@ jobs:
355356
- run: pnpm install --frozen-lockfile
356357
357358
- name: Configure desktop release
359+
shell: bash
358360
env:
359361
DESKTOP_CHANNEL: ${{ needs.prepare.outputs.channel }}
360362
DESKTOP_VERSION: ${{ needs.prepare.outputs.version }}

‎scripts/release/release-workflows.test.mjs‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ import test from 'node:test';
66
const root = resolve(import.meta.dirname, '../..');
77
const read = (path) => readFileSync(resolve(root, path), 'utf8');
88

9+
void test('desktop releases configure both platforms with Bash', () => {
10+
const workflow = read('.github/workflows/desktop-release.yml');
11+
const configuredWithBash = /^ - name: Configure desktop release\n shell: bash$/mu;
12+
const windowsStart = workflow.indexOf('\n windows:');
13+
assert.match(workflow.slice(workflow.indexOf('\n mac:'), windowsStart), configuredWithBash);
14+
assert.match(workflow.slice(windowsStart, workflow.indexOf('\n publish:', windowsStart)), configuredWithBash);
15+
});
16+
917
void test('release workflow uses full push-boundary lane signals and isolated jobs', () => {
1018
const workflow = read('.github/workflows/release.yml');
1119
const desktopJob = workflow.slice(

0 commit comments

Comments
 (0)