Merge pull request #202 from JoanVicens/fix-contribute-link-on-readme #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@v3 | |
- name: Setup NodeJS - ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm install | |
- name: Lint Codebase | |
run: npm run lint | |
- name: Generate Web API Docs | |
run: npm run api-docs | |
- name: Generate JSDocs | |
run: npm run js-docs | |
- name: Generate Complexity Reports | |
run: npm run complex | |
- name: Commit All Changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: GH Action Standards |