diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3229e9b23..8467da4cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -306,7 +306,7 @@ jobs: # Run build directly instead of using npm scripts with node --run which is not supported in older Node versions - run: ./node_modules/.bin/rimraf lib && ./node_modules/.bin/tsc -p tsconfig.build.json --sourceMap --declaration - name: Install only production dependencies - run: npm ci --omit=dev --ignore-scripts + run: npm prune --omit=dev - run: node bin/repomix.cjs - run: node bin/repomix.cjs --version - run: node bin/repomix.cjs --help diff --git a/Dockerfile b/Dockerfile index b561d8ba0..b5eb51712 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ COPY . . RUN npm ci \ && npm run build \ && npm link \ - && npm ci --omit=dev \ + && npm prune --omit=dev \ && npm cache clean --force WORKDIR /app