Merge pull request #711 from pulsar-edit/use-local-image-for-bundled-… #197
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
name: Documentation | |
on: | |
push: | |
branches: [ "master" ] | |
workflow_dispatch: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
documentation: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
strategy: | |
matrix: | |
node-version: [16.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 }} | |
- name: Install Dependencies | |
run: yarn install | |
- name: Generate Public JSDocs | |
run: yarn run js-docs | |
- name: Generate Private JSDocs | |
run: yarn run private-js-docs | |
- name: Commit All Changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: GH Action Documentation |