with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis. This is needed for better sonar
- - name: Set node version to ${{ matrix.node }}
+ - name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
-name: Generate TypeDoc
+name: Generate documentation
on:
workflow_dispatch:
- name: Checkout
uses: actions/checkout@v3
- - name: Set node version to 16
+ - name: Setup node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- - name: Generate TypeDoc
+ - name: Generate documentation
run: |
npm ci
npm run typedoc
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- git commit -m "Generate TypeDoc" -a
+ git commit -m "Generate documentation" -a
- name: Push changes
if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'"