build: Disable Husky hooks in CI/CD workflows and Dockerfile.

This commit is contained in:
abdullahalam123
2026-01-05 19:40:36 +05:30
parent 3d0b829af8
commit 38713ef563
3 changed files with 4 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
permissions: permissions:
contents: write contents: write
env:
HUSKY: 0
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@@ -27,6 +27,7 @@ concurrency:
env: env:
SIMPLE_MODE: ${{ vars.SIMPLE_MODE }} SIMPLE_MODE: ${{ vars.SIMPLE_MODE }}
BASE_URL: ${{ vars.BASE_URL }}/ BASE_URL: ${{ vars.BASE_URL }}/
HUSKY: 0
jobs: jobs:
# Single deploy job since we're just deploying # Single deploy job since we're just deploying

View File

@@ -7,7 +7,7 @@ FROM node:20-alpine AS builder
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
COPY vendor ./vendor COPY vendor ./vendor
RUN npm pkg delete scripts.prepare ENV HUSKY=0
RUN npm ci RUN npm ci
COPY . . COPY . .