mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
feat: force linting on build
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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 ./
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user