diff --git a/infra/updater/src/publish-workflow.test.ts b/infra/updater/src/publish-workflow.test.ts index f7d4e80..a0fedff 100644 --- a/infra/updater/src/publish-workflow.test.ts +++ b/infra/updater/src/publish-workflow.test.ts @@ -89,9 +89,13 @@ describe("server image publish workflow", () => { expect(publish.if).toBe( "github.event_name != 'pull_request' && needs.changes.outputs.publish == 'true'", ); - expect(workflowText).toContain("cancel-in-progress: ${{ github.event_name == 'pull_request' }}"); + expect(workflowText).toContain( + "cancel-in-progress: ${{ github.event_name == 'pull_request' }}", + ); expect(workflowText).toContain("publish-server-image-build-${{ github.ref }}"); - expect(workflowText).toContain("publish-server-image-publish-${{ github.ref == 'refs/heads/main' && 'main' || github.ref }}"); + expect(workflowText).toContain( + "publish-server-image-publish-${{ github.ref == 'refs/heads/main' && 'main' || github.ref }}", + ); expect(workflowText).toContain("push: false"); for (const match of workflowText.matchAll(/uses:\s+([^\s#]+)/g)) { expect(match[1], match[1]).toMatch(/@[0-9a-f]{40}$/);