mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-14 19:37:11 +02:00
Updated 'build-docs' to 'docs' and 'start-docs' to 'docs-dev' for clarity.
Updated a workflow to run tests and build docs on pull requests.
This commit is contained in:
parent
a2d95a052a
commit
b2e1330ec0
@ -37,3 +37,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
run: mvn --file pom.xml -U clean verify -Pintegration-tests
|
run: mvn --file pom.xml -U clean verify -Pintegration-tests
|
||||||
|
|
||||||
|
- name: Use Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '20.x'
|
||||||
|
- run: cd docs && npm ci
|
||||||
|
- run: cd docs && npm run build
|
4
Makefile
4
Makefile
@ -29,10 +29,10 @@ list-releases:
|
|||||||
--compressed \
|
--compressed \
|
||||||
--silent | jq -r '.components[].version'
|
--silent | jq -r '.components[].version'
|
||||||
|
|
||||||
build-docs:
|
docs:
|
||||||
npm i --prefix docs && npm run build --prefix docs
|
npm i --prefix docs && npm run build --prefix docs
|
||||||
|
|
||||||
start-docs:
|
docs-dev:
|
||||||
npm i --prefix docs && npm run start --prefix docs
|
npm i --prefix docs && npm run start --prefix docs
|
||||||
|
|
||||||
start-cpu:
|
start-cpu:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user