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
parent fb4b96a838
commit f0c607d87a
4 changed files with 528 additions and 3 deletions

View File

@ -22,6 +22,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
@ -47,4 +50,4 @@ EXPOSE 3000
ENV PORT 3000
CMD ["npm", "run", "start"]
CMD ["npm", "run", "start"]