Skip to content

Commit

Permalink
Merge pull request #46 from route06inc/add-ci
Browse files Browse the repository at this point in the history
Add workflow to resolve unintended git diffs before PR review
  • Loading branch information
Rindrics authored Oct 24, 2024
2 parents c5429f4 + 34aed7f commit a96e9db
Show file tree
Hide file tree
Showing 6 changed files with 3,269 additions and 3,654 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
- pull_request

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: bun install

- name: Check if codebase is up-to-date
run: |
bun run ci
git diff --compact-summary --exit-code || \
(echo; echo "Unexpected git diff detected"; exit 1)
2 changes: 1 addition & 1 deletion app/(playground)/p/[agentId]/beta-proto/artifact/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const schema = jsonSchema<GeneratedObject>({
title: { type: "string", description: "The title of the artefact" },
content: {
type: "string",
description: `The content of the artefact formatted markdown.`,
description: "The content of the artefact formatted markdown.",
},
citations: {
type: "array",
Expand Down
Binary file modified bun.lockb
Binary file not shown.
Loading

0 comments on commit a96e9db

Please sign in to comment.