From ad32cffd75e98ef3b8e28406753fcb4eeb2ebc6c Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Fri, 31 Jan 2025 10:54:27 -0500 Subject: [PATCH] feat: force linting on build --- .github/workflows/main.yml | 2 +- api/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0481a14bb..b464357b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,7 +62,7 @@ jobs: cache-to: type=gha,mode=max,ref=builder:latest load: true - name: Lint inside of the docker container - continue-on-error: true + continue-on-error: false run: | docker run --rm builder npm run lint diff --git a/api/Dockerfile b/api/Dockerfile index 2c61fa75b..9c3faa80b 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /app # Set app env ENV NODE_ENV=development -COPY tsconfig.json .eslintrc.ts .npmrc .env.production .env.staging ./ +COPY tsconfig.json .eslintrc.ts .prettierrc.cjs .npmrc .env.production .env.staging ./ COPY package.json package-lock.json ./