Repository navigation
chore: Bump toolkit to support Btc fns on the browser #105
This file contains hidden or 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 docs | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Generate docs | |
| run: yarn docs | |
| - name: Check for changes | |
| run: | | |
| if git diff --exit-code --ignore-space-change --ignore-all-space --ignore-cr-at-eol -- docs/index.md; then | |
| echo "Docs are up-to-date." | |
| else | |
| echo "::error::Docs are not up-to-date. Please run 'yarn docs' locally and commit any changes." | |
| exit 1 | |
| fi |