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:
amithkoujalgi 2025-04-06 23:22:29 +05:30
parent a2d95a052a
commit b2e1330ec0
No known key found for this signature in database
GPG Key ID: E29A37746AF94B70
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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: