Skip to content

Commit

Permalink
devops: debug lhci results comment (#79)
Browse files Browse the repository at this point in the history
* devops: debug github actions

* devops: debug lhci results comment
  • Loading branch information
gaboesquivel authored Apr 6, 2024
1 parent 99da3ed commit 0a03d67
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
with:
urls: |
"https://${{ steps.vercel_preview_url.outputs.preview_url }}"
"https://${{ steps.vercel_preview_url.outputs.preview_url }}/b/moneybot"
"https://${{ steps.vercel_preview_url.outputs.preview_url }}/u/slug-1"
"https://${{ steps.vercel_preview_url.outputs.preview_url }}/p"
# "https://${{ steps.vercel_preview_url.outputs.preview_url }}/b/moneybot"
# "https://${{ steps.vercel_preview_url.outputs.preview_url }}/u/slug-1"
# "https://${{ steps.vercel_preview_url.outputs.preview_url }}/p"
# budgetPath: '.github/lighthouse/budget.json'
uploadArtifacts: true
temporaryPublicStorage: true
Expand Down Expand Up @@ -72,7 +72,9 @@ jobs:
# });
# });
core.setOutput('comment', steps.lighthouse_audit.outputs.links);
# core.setOutput('comment', comment);
core.setOutput('manifest', JSON.stringify(manifest));
core.setOutput('links', JSON.stringify(links));
- name: Add comment to PR
id: comment_to_pr
uses: marocchino/[email protected]
Expand Down
18 changes: 18 additions & 0 deletions apps/masterbots.ai/app/(browse)/[category]/[threadId]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { getThread } from '@/services/hasura'

export default async function ChatPage({ params }: ChatPageProps) {
const thread = await getThread({
threadId: params.threadId
})

//TODO: handle threadId not found

return <pre>{}</pre>
}

export interface ChatPageProps {
params: {
threadId: string
chatbot: string
}
}

0 comments on commit 0a03d67

Please sign in to comment.