Skip to content

Commit 2307735

Browse files
authored
docs(README): add changelog link (#63)
1 parent c0deffd commit 2307735

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ jobs:
223223
- build-binaries
224224
steps:
225225
- uses: actions/checkout@v3
226+
with:
227+
lfs: true
226228
- uses: actions/setup-node@v3
227229
with:
228230
node-version: "20"
@@ -260,7 +262,7 @@ jobs:
260262
if [ -f .semanticRelease.npmPackage.deployedVersion.txt ]; then
261263
echo "npm-url=https://www.npmjs.com/package/node-llama-cpp/v/$(cat .semanticRelease.npmPackage.deployedVersion.txt)" >> $GITHUB_OUTPUT
262264
fi
263-
- name: Generate docs
265+
- name: Generate docs with updated version
264266
if: steps.set-npm-url.outputs.npm-url != ''
265267
env:
266268
DOCS_URL_BASE: "/node-llama-cpp/"

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,18 @@ jobs:
1515
run: npx eslint --ext .js --ext .ts .
1616
- name: TypeScript validity
1717
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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* [Getting started guide](https://withcatai.github.io/node-llama-cpp/guide/)
2929
* [API reference](https://withcatai.github.io/node-llama-cpp/api/classes/LlamaModel)
3030
* [CLI help](https://withcatai.github.io/node-llama-cpp/guide/cli/)
31+
* [Changelog](https://github.com/withcatai/node-llama-cpp/releases)
3132

3233
## Installation
3334
```bash

0 commit comments

Comments
 (0)