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: Generate Extension Documentation | |
on: [push] | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Initialize | |
run: pnpm install | |
- name: Generate | |
run: pnpm document:extensions | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 're-generate extension documentation\n\nskip-checks:true' | |
file_pattern: 'extensions/README.md' |