+2
-4
@@ -10,16 +10,14 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: node:22
|
image: node:22-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: host-website-dist
|
- name: host-website-dist
|
||||||
path: /mnt/website
|
path: /mnt/website
|
||||||
commands:
|
commands:
|
||||||
- uname -a
|
- uname -a
|
||||||
- ldd --version
|
|
||||||
- node -v
|
- node -v
|
||||||
- apt update && apt install -y libvips-dev
|
- apk add --no-cache vips-dev build-base python3
|
||||||
- export SHARP_FORCE_GLOBAL_LIBVIPS=1
|
|
||||||
- npm install --save node-addon-api node-gyp
|
- npm install --save node-addon-api node-gyp
|
||||||
- npm install
|
- npm install
|
||||||
- node -e 'import Sharp from "sharp"; console.log(Sharp)'
|
- node -e 'import Sharp from "sharp"; console.log(Sharp)'
|
||||||
|
|||||||
Generated
+1003
-13
File diff suppressed because it is too large
Load Diff
+2
-5
@@ -29,6 +29,8 @@
|
|||||||
"katex": "^0.16.22",
|
"katex": "^0.16.22",
|
||||||
"lucide-static": "^0.468.0",
|
"lucide-static": "^0.468.0",
|
||||||
"marked": "^15.0.12",
|
"marked": "^15.0.12",
|
||||||
|
"node-addon-api": "^8.5.0",
|
||||||
|
"node-gyp": "^11.4.2",
|
||||||
"preact": "^10.27.2",
|
"preact": "^10.27.2",
|
||||||
"sharp": "^0.34.3",
|
"sharp": "^0.34.3",
|
||||||
"typescript": "^5.9.2"
|
"typescript": "^5.9.2"
|
||||||
@@ -48,10 +50,5 @@
|
|||||||
"remark-toc": "^9.0.0",
|
"remark-toc": "^9.0.0",
|
||||||
"sass": "^1.92.1",
|
"sass": "^1.92.1",
|
||||||
"tsx": "^4.20.5"
|
"tsx": "^4.20.5"
|
||||||
},
|
|
||||||
"config": {
|
|
||||||
"libvips": {
|
|
||||||
"version": "8.14.1"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user