fix(ci): use --ignore-scripts for pnpm install
Build & Push Portfolio Image / build-push (push) Successful in 3m21s
Build & Push Portfolio Image / build-push (push) Successful in 3m21s
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ COPY package.json pnpm-lock.yaml ./
|
|||||||
# Install pnpm
|
# Install pnpm
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies (skip build scripts - sharp will use wasm fallback)
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile --ignore-scripts
|
||||||
|
|
||||||
# Copy source
|
# Copy source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
+1
-7
@@ -30,11 +30,5 @@
|
|||||||
"eslint-config-next": "^16.2.10",
|
"eslint-config-next": "^16.2.10",
|
||||||
"postcss": "^8.4.32",
|
"postcss": "^8.4.32",
|
||||||
"typescript": "5.8.2"
|
"typescript": "5.8.2"
|
||||||
},
|
|
||||||
"pnpm": {
|
|
||||||
"onlyBuiltDependencies": [
|
|
||||||
"sharp",
|
|
||||||
"unrs-resolver"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user