Skip to content

Commit

Permalink
👷 Add build stage to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
injoonH committed Jun 8, 2024
1 parent 47819e6 commit 36c5738
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ jobs:
- name: Install dependencies
run: bun install

- name: Build app
run: bun build

- name: Run tests
run: bun test
4 changes: 2 additions & 2 deletions src/route/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { z } from 'zod'

import { cookie } from '@/common/cookie'
import { consoleLogger } from '@/common/log'
import { insertUserSchema } from '@/db/schema'
import {
createUser,
getUserByEmail,
getUserByEmailWithPassword,
} from '@/query/user'
} from '@/db/query/user'
import { insertUserSchema } from '@/db/schema'

const app = new Hono()

Expand Down
2 changes: 1 addition & 1 deletion src/route/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Hono } from 'hono'
import { z } from 'zod'

import { cookie } from '@/common/cookie'
import { getUserById, isNicknameUnique, updateNickname } from '@/db/query/user'
import { insertUserSchema } from '@/db/schema'
import { authGuard } from '@/middleware/auth'
import { getUserById, isNicknameUnique, updateNickname } from '@/query/user'

const app = new Hono()

Expand Down

0 comments on commit 36c5738

Please sign in to comment.