Skip to content

Commit

Permalink
Make husky prepare script never fail during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vguleaev committed Oct 19, 2024
1 parent 911cd01 commit 332514f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ FROM oven/bun:1.1.12-slim
# Set working directory in the container
WORKDIR /app

# Set environment variable to skip Husky prepare script
ENV HUSKY=0

# Install server dependencies
COPY bun.lockb package.json ./

Expand Down
Binary file modified bun.lockb
Binary file not shown.
Binary file modified frontend/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/src/stores/group-modal.store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BacklogTaskGroupWithTasks } from '@server/routes/backlog.route';
import { BacklogTaskGroupWithTasks } from '@server/services/backlog.service';
import { create } from 'zustand';

type GroupModalStore = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"db:migrate": "drizzle-kit migrate",
"db:studio": "drizzle-kit studio",
"check-updates": "bun x npm-check-updates --interactive --format group",
"prepare": "husky",
"prepare": "husky || true",
"type-check": "tsc --noEmit"
},
"devDependencies": {
Expand Down

0 comments on commit 332514f

Please sign in to comment.