Skip to content

Merge pull request #254 from schadomi7/main #194

Merge pull request #254 from schadomi7/main

Merge pull request #254 from schadomi7/main #194

Workflow file for this run

# GitHub Action to include all documentation that needs to generated, and all linting
# that needs to be done into a single PR.
name: CI - Standards
on:
push:
branches: [ "main" ]
jobs:
standards:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout the latest code
uses: actions/checkout@v4
- name: Setup NodeJS - ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Lint Codebase
run: npm run lint
- name: Generate JSDocs
run: npm run js-docs
- name: Generate Complexity Reports
run: npm run complex
- name: Generate OpenAPI Docs
run: npm run openapi-docs
- name: Commit All Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: GH Action Standards