add husky and lint-staged to ensure commits are formatted

This commit is contained in:
Nicholas Sylke
2023-08-14 16:14:53 -05:00
committed by Mythie
parent e164fabb04
commit 9783e16656
4 changed files with 522 additions and 16 deletions

View File

@ -36,6 +36,9 @@ RUN apk add --no-cache libc6-compat
# Copy our current monorepo
COPY . .
# Disable husky from installing hooks
ENV HUSKY 0
RUN npm ci
RUN npm run build --workspaces
@ -62,4 +65,4 @@ EXPOSE 3000
ENV PORT 3000
CMD ["npm", "run", "start"]
CMD ["npm", "run", "start"]