diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63165ca..5b96bdb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm ci + run: npm install - name: Run tests run: npm test @@ -71,7 +71,7 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm ci + run: npm install - name: Build Electron app run: npm run electron:build diff --git a/Dockerfile b/Dockerfile index ff2edf5..30f179c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ WORKDIR /app # Copy package files COPY package*.json ./ -# Install dependencies (including dev for build) -RUN npm ci --only=production +# Install dependencies +RUN npm install --omit=dev # ============================================ # Stage 2: Production