fix: correct CI/CD workflow issues

- Fix lint.yml to use 'yarn check' instead of 'yarn lint' (ESLint not configured)
- Fix Dockerfile to use 'yarn install --production' for single package repo
- Update workflow name to reflect actual functionality
This commit is contained in:
Damir Mukimov 2025-11-27 06:57:16 +01:00
parent 40be6866b0
commit cd6a5fe837
No known key found for this signature in database
GPG Key ID: 42996CC7C73BC750
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ on:
jobs:
typescript-lint:
name: TypeScript & ESLint
name: TypeScript Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
@ -38,4 +38,4 @@ jobs:
run: yarn install --frozen-lockfile
- name: Type check
run: yarn lint
run: yarn check

View File

@ -36,7 +36,7 @@ WORKDIR /app
COPY .yarnrc.yml package.json yarn.lock ./
# Install production dependencies (uses PnP)
RUN yarn workspaces focus --production
RUN yarn install --immutable --production
# Copy PnP files and built application from builder stage
COPY --from=builder --chown=nextjs:nodejs /app/.pnp.cjs /app/.pnp.loader.mjs ./