mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-21 04:10:47 +02:00
fix: keep release smoke fixture inside project
Create the browser smoke page under GITHUB_WORKSPACE so the runtime's local-file trust boundary permits it on every runner, and advance the immutable bootstrap channel to RC3.
This commit is contained in:
@@ -65,6 +65,7 @@ describe("GStack runtime release channel", () => {
|
||||
expect(workflow).toContain("--prerelease");
|
||||
expect(workflow).toContain('gh release create "$GITHUB_REF_NAME"');
|
||||
expect(workflow).toContain("pathToFileURL(p).href");
|
||||
expect(workflow).toContain('path").join(process.env.GITHUB_WORKSPACE,".gstack-runtime-smoke.html")');
|
||||
expect(workflow).not.toContain("goto about:blank");
|
||||
expect(buildSection).not.toContain("sigstore/cosign-installer");
|
||||
expect(manifestSection).toContain("sigstore/cosign-installer");
|
||||
|
||||
@@ -66,6 +66,7 @@ describe("release and CI hardening", () => {
|
||||
expect(workflow).toContain("command -v bun");
|
||||
expect(workflow).toContain("GSTACK_NODE=\"$node_command\"");
|
||||
expect(workflow).toContain("pathToFileURL(p).href");
|
||||
expect(workflow).toContain('path").join(process.env.GITHUB_WORKSPACE,".gstack-runtime-smoke.html")');
|
||||
expect(workflow).not.toContain("goto about:blank");
|
||||
const manifest = read(".github/scripts/create-runtime-release-manifest.mjs");
|
||||
expect(manifest).toContain("bytes: stat.size");
|
||||
|
||||
Reference in New Issue
Block a user