File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,15 @@ This project includes two GitHub Actions workflows:
9191### PR Checks (` .github/workflows/pr-checks.yml ` )
9292
9393Runs automatically on pull requests to ` main ` :
94+
9495- ** Lint** - Checks code style and formatting (` pnpm lint ` )
9596- ** Test** - Runs all tests (` pnpm test ` )
9697- ** Type Check** - Validates TypeScript types for both packages
9798
9899### Deploy (` .github/workflows/deploy.yml ` )
99100
100101Runs automatically on push to ` main ` :
102+
101103- ** Deploy Worker** - Deploys backend worker to Cloudflare
102104- ** Deploy Web** - Deploys frontend worker to Cloudflare (after worker deploys)
103105
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export const Route = createFileRoute('/demo/start/ssr/spa-mode')({
88} ) ;
99
1010function RouteComponent ( ) {
11- const [ punkSongs , setPunkSongs ] = useState < Awaited < ReturnType < typeof getPunkSongs > > > ( [ ] ) ;
11+ const [ punkSongs , setPunkSongs ] = useState < Awaited < ReturnType < typeof getPunkSongs > > | [ ] > ( [ ] ) ;
1212
1313 useEffect ( ( ) => {
1414 getPunkSongs ( ) . then ( setPunkSongs ) ;
Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'vitest/config' ;
2+ import tsconfigPaths from 'vite-tsconfig-paths' ;
3+
4+ export default defineConfig ( {
5+ plugins : [ tsconfigPaths ( ) ] ,
6+ test : {
7+ environment : 'jsdom' ,
8+ } ,
9+ } ) ;
You can’t perform that action at this time.
0 commit comments