Skip to content

Commit 71320d5

Browse files
Adds builder presubmit (#43)
1 parent 8b35c69 commit 71320d5

4 files changed

Lines changed: 50 additions & 29 deletions

File tree

.github/workflows/presubmits.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# .github/workflows/presubmits.yml
2+
3+
name: Presubmits
4+
5+
on: [pull_request]
6+
7+
jobs:
8+
prettier-check:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v6
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v6
17+
with:
18+
node-version: "24"
19+
20+
- name: Install pnpm
21+
run: |
22+
npm install -g pnpm
23+
24+
- name: Install dependencies
25+
run: pnpm install
26+
27+
- name: Run Prettier check
28+
run: pnpm run format-check
29+
builder:
30+
runs-on: ubuntu-latest
31+
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v6
35+
36+
- name: Set up Node.js
37+
uses: actions/setup-node@v6
38+
with:
39+
node-version: "24"
40+
41+
- name: Install pnpm
42+
run: |
43+
npm install -g pnpm
44+
45+
- name: Install dependencies
46+
run: pnpm install
47+
48+
- name: Run Builder
49+
run: pnpm run build

.github/workflows/prettier.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.
File renamed without changes.

apps/web/src/routes/__root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { isProtectedRoute } from "@/lib/functions/auth";
66
import type { RouterContext } from "@/lib/types";
77
import { Providers } from "@/providers";
88
import { Navbar } from "@/components/shared/Navbar/navbar";
9-
import ErrorComponent from "@/components/shared/Error";
9+
import ErrorComponent from "@/components/shared/ErrorFallback";
1010

1111
export const Route = createRootRouteWithContext<RouterContext>()({
1212
beforeLoad: async ({ location }) => {

0 commit comments

Comments
 (0)