Skip to content

Commit 64b91a1

Browse files
committed
test(release): assert the release build pins bun via the version file
The release extensions workflow test asserted the literal `bun-version: "1.3.6"` in the build job. The guard's intent is that the release build pins Bun rather than floating, and that still holds; the mechanism is now `bun-version-file` reading packageManager from package.json. Point the assertion at the new form so the guard keeps its meaning instead of pinning a string that no longer appears.
1 parent 5cd7810 commit 64b91a1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/browseros-agent/scripts/release/release-extensions-workflow.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ describe('release-extensions workflow', () => {
101101
it('builds and attaches the immutable CRX before optional finalization', () => {
102102
const build = section(' build:', ' preflight_alpha:')
103103
expect(build).toContain('browseros ext release')
104-
expect(build).toContain('bun-version: "1.3.6"')
104+
expect(build).toContain(
105+
'bun-version-file: packages/browseros-agent/package.json',
106+
)
105107
expect(build).toContain('--source-sha "$RELEASE_SHA"')
106108
expect(build).toContain('gh release upload')
107109
expect(build).toContain('needs.prepare.outputs.version')

0 commit comments

Comments
 (0)