Merge pull request #313 from hanazuki/dependabot/npm_and_yarn/typedoc… #336
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: Docs | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
concurrency: | |
group: docs | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: gitconfig | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name automate | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install | |
run: npm ci | |
- name: Generate docs | |
run: scripts/generate-docs.sh |