feat: force linting on build

This commit is contained in:
Eli Bosley
2025-01-31 10:54:27 -05:00
parent 2b213619db
commit ad32cffd75
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ jobs:
cache-to: type=gha,mode=max,ref=builder:latest cache-to: type=gha,mode=max,ref=builder:latest
load: true load: true
- name: Lint inside of the docker container - name: Lint inside of the docker container
continue-on-error: true continue-on-error: false
run: | run: |
docker run --rm builder npm run lint docker run --rm builder npm run lint

View File

@@ -20,7 +20,7 @@ WORKDIR /app
# Set app env # Set app env
ENV NODE_ENV=development 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 ./ COPY package.json package-lock.json ./