File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,8 @@ jobs:
223
223
- build-binaries
224
224
steps :
225
225
- uses : actions/checkout@v3
226
+ with :
227
+ lfs : true
226
228
- uses : actions/setup-node@v3
227
229
with :
228
230
node-version : " 20"
@@ -260,7 +262,7 @@ jobs:
260
262
if [ -f .semanticRelease.npmPackage.deployedVersion.txt ]; then
261
263
echo "npm-url=https://www.npmjs.com/package/node-llama-cpp/v/$(cat .semanticRelease.npmPackage.deployedVersion.txt)" >> $GITHUB_OUTPUT
262
264
fi
263
- - name : Generate docs
265
+ - name : Generate docs with updated version
264
266
if : steps.set-npm-url.outputs.npm-url != ''
265
267
env :
266
268
DOCS_URL_BASE : " /node-llama-cpp/"
Original file line number Diff line number Diff line change 15
15
run : npx eslint --ext .js --ext .ts .
16
16
- name : TypeScript validity
17
17
run : npm run test:typescript
18
+
19
+ compile-docs :
20
+ name : Test docs compilation
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+ with :
25
+ lfs : true
26
+ - uses : actions/setup-node@v3
27
+ with :
28
+ node-version : " 20"
29
+ - name : Install modules
30
+ run : npm ci
31
+ - name : Compile docs
32
+ run : npm run docs:build
Original file line number Diff line number Diff line change 28
28
* [ Getting started guide] ( https://withcatai.github.io/node-llama-cpp/guide/ )
29
29
* [ API reference] ( https://withcatai.github.io/node-llama-cpp/api/classes/LlamaModel )
30
30
* [ CLI help] ( https://withcatai.github.io/node-llama-cpp/guide/cli/ )
31
+ * [ Changelog] ( https://github.com/withcatai/node-llama-cpp/releases )
31
32
32
33
## Installation
33
34
``` bash
You can’t perform that action at this time.
0 commit comments