File tree Expand file tree Collapse file tree 5 files changed +13
-5
lines changed
Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 55 name : Check
66 runs-on : ubuntu-latest
77 steps :
8- - uses : actions/checkout@v3
8+ - uses : actions/checkout@v4
99 - uses : oven-sh/setup-bun@v2
1010 with :
1111 bun-version : " 1.2.4"
1212 - run : bun install --frozen-lockfile
1313 - run : bun check
14+ typos :
15+ name : Check Typos
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : crate-ci/typos@v1
1420 build :
1521 name : Build
1622 runs-on : ubuntu-latest
1723 steps :
18- - uses : actions/checkout@v3
24+ - uses : actions/checkout@v4
1925 - uses : oven-sh/setup-bun@v2
2026 with :
2127 bun-version : " 1.2.4"
Original file line number Diff line number Diff line change 11{
2- "recommendations" : [" astro-build.astro-vscode" ]
2+ "recommendations" : [" astro-build.astro-vscode" , " tekumara.typos-vscode " ]
33}
Original file line number Diff line number Diff line change 1+ [default .extend-words ]
2+ progate = " progate"
Original file line number Diff line number Diff line change @@ -5,5 +5,7 @@ pkgs.mkShell {
55 pkgs . biome
66 pkgs . astro-language-server
77 pkgs . nodejs-slim # required by astro to find sharp
8+ pkgs . typos
9+ pkgs . typos-lsp
810 ] ;
911}
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ export type Project = z.infer<ReturnType<typeof CreateProjectSchema>>;
88
99export const CreateArticleSchema = ( { image } : { image : ImageFunction } ) =>
1010 z . object ( {
11- // excerpt: z.string().nullable(),
12- // longExcerpt: z.string().nullable(),
1311 date : z
1412 . date ( )
1513 . transform ( ( date ) => new TZDate ( date ) . withTimeZone ( "Asia/Tokyo" ) ) ,
You can’t perform that action at this time.
0 commit comments