Skip to content

Commit

Permalink
Merge pull request #15 from bcgov/fix/docker-husky-issue
Browse files Browse the repository at this point in the history
Returning to simpler way of skipping husky
  • Loading branch information
hannah-macdonald1 authored Oct 22, 2024
2 parents 209017f + d7816cd commit d7ece5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .husky/install.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM node:22-alpine
WORKDIR /app

# Copy the package.json and package-lock.json files
COPY package*.json ./ .husky/
COPY package*.json ./

# Install the dependencies
RUN npm install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"prepare": "node .husky/install.mjs"
"prepare": "husky || true"
},
"author": "MCFD Mobility",
"license": "MIT License",
Expand Down

0 comments on commit d7ece5b

Please sign in to comment.