mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 20:07:10 +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
7
.github/workflows/build-and-test-on-pr-open.yml → .github/workflows/build-on-pull-request.yml
vendored
7
.github/workflows/build-and-test-on-pr-open.yml → .github/workflows/build-on-pull-request.yml
vendored
@ -37,3 +37,10 @@ jobs:
|
||||
|
||||
- name: Run integration 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 \
|
||||
--silent | jq -r '.components[].version'
|
||||
|
||||
build-docs:
|
||||
docs:
|
||||
npm i --prefix docs && npm run build --prefix docs
|
||||
|
||||
start-docs:
|
||||
docs-dev:
|
||||
npm i --prefix docs && npm run start --prefix docs
|
||||
|
||||
start-cpu:
|
||||
|
Loading…
x
Reference in New Issue
Block a user