diff --git a/apps/web/lib/production-deploy-source.test.ts b/apps/web/lib/production-deploy-source.test.ts index 868ed74..81afca6 100644 --- a/apps/web/lib/production-deploy-source.test.ts +++ b/apps/web/lib/production-deploy-source.test.ts @@ -27,12 +27,15 @@ test('GitHub Actions workflow builds pushes deploys migrates and verifies runtim const workflowPath = join(repoRoot, '.github/workflows/deploy-production.yml'); assert.equal(existsSync(workflowPath), true); const workflow = readFileSync(workflowPath, 'utf8'); + const smokeScript = readFileSync(join(repoRoot, 'scripts/smoke-test-release.mjs'), 'utf8'); assert.match(workflow, /docker\/build-push-action/); assert.match(workflow, /appleboy\/ssh-action/); assert.match(workflow, /docker compose --env-file \.env\.production -f docker-compose\.prod\.yml pull/); assert.match(workflow, /pnpm --filter server db:deploy/); - assert.match(workflow, /\/api\/v1\/health\/version/); + assert.match(workflow, /smoke-test-release\.mjs/); + assert.match(workflow, /--expected-version "\$\{\{ github\.sha \}\}"/); + assert.match(smokeScript, /\/api\/v1\/health\/version/); }); test('deployment runtime version check is available as a repeatable script', () => {