mirror of
https://github.com/SamyRai/tercul-frontend.git
synced 2025-12-27 04:51:34 +00:00
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:
parent
40be6866b0
commit
cd6a5fe837
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
||||
@ -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 ./
|
||||
|
||||
Loading…
Reference in New Issue
Block a user