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
|
||||
RUN npm install -g pnpm
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm install --frozen-lockfile
|
||||
# Install dependencies (skip build scripts - sharp will use wasm fallback)
|
||||
RUN pnpm install --frozen-lockfile --ignore-scripts
|
||||
|
||||
# Copy source
|
||||
COPY . .
|
||||
|
||||
@@ -30,11 +30,5 @@
|
||||
"eslint-config-next": "^16.2.10",
|
||||
"postcss": "^8.4.32",
|
||||
"typescript": "5.8.2"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"sharp",
|
||||
"unrs-resolver"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user