Skip to content

refactor: REUSE tool setup in UI5 CLI repository #2341

refactor: REUSE tool setup in UI5 CLI repository

refactor: REUSE tool setup in UI5 CLI repository #2341

Workflow file for this run

name: GitHub CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: General checks and tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22.20.0
- name: Install dependencies
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
- name: Perform ESLint check
run: npm run lint
- name: Perform Licenses check
run: npm run check-licenses
- name: Perform dependency check
run: npm run depcheck
- name: Run unit tests
run: npm run coverage
- name: Generate JSDoc documentation
working-directory: packages/documentation
run: |
npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
npm run jsdoc-generate
- name: Generate merged JSON schema
run: npm run schema-generate
- name: Generate CLI documentation
working-directory: packages/documentation
run: npm run generate-cli-doc