ci: fix workflows
This commit is contained in:
parent
57ae2191ae
commit
25a27e1998
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
run: npm run test-ci
|
run: npm run test-ci
|
||||||
|
|
||||||
- name: 'Report Coverage'
|
- name: 'Report Coverage'
|
||||||
if: always()
|
if: (github.event_name == 'pull_request' && github.event.action != 'closed')
|
||||||
uses: davelosert/vitest-coverage-report-action@v2
|
uses: davelosert/vitest-coverage-report-action@v2
|
||||||
|
|
||||||
- name: Building Frontend
|
- name: Building Frontend
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
|
|
||||||
// Import Routes
|
// Import Routes
|
||||||
|
|
||||||
import { Route as rootRoute } from './routes/__root'
|
import { Route as rootRoute } from './routes/__root';
|
||||||
import { Route as IndexImport } from './routes/index'
|
import { Route as AuthCallbackImport } from './routes/auth/callback';
|
||||||
import { Route as AuthCallbackImport } from './routes/auth/callback'
|
import { Route as IndexImport } from './routes/index';
|
||||||
|
|
||||||
// Create/Update Routes
|
// Create/Update Routes
|
||||||
|
|
||||||
@ -20,75 +20,75 @@ const IndexRoute = IndexImport.update({
|
|||||||
id: '/',
|
id: '/',
|
||||||
path: '/',
|
path: '/',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any)
|
} as any);
|
||||||
|
|
||||||
const AuthCallbackRoute = AuthCallbackImport.update({
|
const AuthCallbackRoute = AuthCallbackImport.update({
|
||||||
id: '/auth/callback',
|
id: '/auth/callback',
|
||||||
path: '/auth/callback',
|
path: '/auth/callback',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any)
|
} as any);
|
||||||
|
|
||||||
// Populate the FileRoutesByPath interface
|
// Populate the FileRoutesByPath interface
|
||||||
|
|
||||||
declare module '@tanstack/react-router' {
|
declare module '@tanstack/react-router' {
|
||||||
interface FileRoutesByPath {
|
interface FileRoutesByPath {
|
||||||
'/': {
|
'/': {
|
||||||
id: '/'
|
id: '/';
|
||||||
path: '/'
|
path: '/';
|
||||||
fullPath: '/'
|
fullPath: '/';
|
||||||
preLoaderRoute: typeof IndexImport
|
preLoaderRoute: typeof IndexImport;
|
||||||
parentRoute: typeof rootRoute
|
parentRoute: typeof rootRoute;
|
||||||
}
|
};
|
||||||
'/auth/callback': {
|
'/auth/callback': {
|
||||||
id: '/auth/callback'
|
id: '/auth/callback';
|
||||||
path: '/auth/callback'
|
path: '/auth/callback';
|
||||||
fullPath: '/auth/callback'
|
fullPath: '/auth/callback';
|
||||||
preLoaderRoute: typeof AuthCallbackImport
|
preLoaderRoute: typeof AuthCallbackImport;
|
||||||
parentRoute: typeof rootRoute
|
parentRoute: typeof rootRoute;
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create and export the route tree
|
// Create and export the route tree
|
||||||
|
|
||||||
export interface FileRoutesByFullPath {
|
export interface FileRoutesByFullPath {
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute;
|
||||||
'/auth/callback': typeof AuthCallbackRoute
|
'/auth/callback': typeof AuthCallbackRoute;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FileRoutesByTo {
|
export interface FileRoutesByTo {
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute;
|
||||||
'/auth/callback': typeof AuthCallbackRoute
|
'/auth/callback': typeof AuthCallbackRoute;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FileRoutesById {
|
export interface FileRoutesById {
|
||||||
__root__: typeof rootRoute
|
__root__: typeof rootRoute;
|
||||||
'/': typeof IndexRoute
|
'/': typeof IndexRoute;
|
||||||
'/auth/callback': typeof AuthCallbackRoute
|
'/auth/callback': typeof AuthCallbackRoute;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FileRouteTypes {
|
export interface FileRouteTypes {
|
||||||
fileRoutesByFullPath: FileRoutesByFullPath
|
fileRoutesByFullPath: FileRoutesByFullPath;
|
||||||
fullPaths: '/' | '/auth/callback'
|
fullPaths: '/' | '/auth/callback';
|
||||||
fileRoutesByTo: FileRoutesByTo
|
fileRoutesByTo: FileRoutesByTo;
|
||||||
to: '/' | '/auth/callback'
|
to: '/' | '/auth/callback';
|
||||||
id: '__root__' | '/' | '/auth/callback'
|
id: '__root__' | '/' | '/auth/callback';
|
||||||
fileRoutesById: FileRoutesById
|
fileRoutesById: FileRoutesById;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RootRouteChildren {
|
export interface RootRouteChildren {
|
||||||
IndexRoute: typeof IndexRoute
|
IndexRoute: typeof IndexRoute;
|
||||||
AuthCallbackRoute: typeof AuthCallbackRoute
|
AuthCallbackRoute: typeof AuthCallbackRoute;
|
||||||
}
|
}
|
||||||
|
|
||||||
const rootRouteChildren: RootRouteChildren = {
|
const rootRouteChildren: RootRouteChildren = {
|
||||||
IndexRoute: IndexRoute,
|
IndexRoute: IndexRoute,
|
||||||
AuthCallbackRoute: AuthCallbackRoute,
|
AuthCallbackRoute: AuthCallbackRoute,
|
||||||
}
|
};
|
||||||
|
|
||||||
export const routeTree = rootRoute
|
export const routeTree = rootRoute
|
||||||
._addFileChildren(rootRouteChildren)
|
._addFileChildren(rootRouteChildren)
|
||||||
._addFileTypes<FileRouteTypes>()
|
._addFileTypes<FileRouteTypes>();
|
||||||
|
|
||||||
/* ROUTE_MANIFEST_START
|
/* ROUTE_MANIFEST_START
|
||||||
{
|
{
|
||||||
|
@ -10,4 +10,4 @@ html {
|
|||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
@apply bg-gray-50 text-gray-950 dark:bg-gray-900 dark:text-gray-200;
|
@apply bg-gray-50 text-gray-950 dark:bg-gray-900 dark:text-gray-200;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user