ci: Use node:22 instead of node:22-alpine for builds
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Alpine uses musl libc which breaks Rollup's native bindings. Debian-based node:22 uses glibc and works correctly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -71,7 +71,7 @@ steps:
|
|||||||
# BUILD: Frontend assets in CI (not Docker)
|
# BUILD: Frontend assets in CI (not Docker)
|
||||||
# ===========================================
|
# ===========================================
|
||||||
build-cannaiq:
|
build-cannaiq:
|
||||||
image: node:22-alpine
|
image: node:22
|
||||||
commands:
|
commands:
|
||||||
- cd cannaiq
|
- cd cannaiq
|
||||||
- npm ci --prefer-offline
|
- npm ci --prefer-offline
|
||||||
@@ -83,7 +83,7 @@ steps:
|
|||||||
event: push
|
event: push
|
||||||
|
|
||||||
build-findadispo:
|
build-findadispo:
|
||||||
image: node:22-alpine
|
image: node:22
|
||||||
commands:
|
commands:
|
||||||
- cd findadispo/frontend
|
- cd findadispo/frontend
|
||||||
- npm ci --prefer-offline
|
- npm ci --prefer-offline
|
||||||
@@ -95,7 +95,7 @@ steps:
|
|||||||
event: push
|
event: push
|
||||||
|
|
||||||
build-findagram:
|
build-findagram:
|
||||||
image: node:22-alpine
|
image: node:22
|
||||||
commands:
|
commands:
|
||||||
- cd findagram/frontend
|
- cd findagram/frontend
|
||||||
- npm ci --prefer-offline
|
- npm ci --prefer-offline
|
||||||
@@ -107,9 +107,8 @@ steps:
|
|||||||
event: push
|
event: push
|
||||||
|
|
||||||
build-backend:
|
build-backend:
|
||||||
image: node:22-alpine
|
image: node:22
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache python3 make g++
|
|
||||||
- cd backend
|
- cd backend
|
||||||
- npm ci --prefer-offline
|
- npm ci --prefer-offline
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user