perf: ape_node
plugin load time improvement (#2378)
#9747
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: [main] | |
release: | |
types: [released] | |
pull_request: | |
types: [opened, synchronize] | |
concurrency: | |
# Cancel older, in-progress jobs from the same PR, same workflow. | |
# use run_id if the job is triggered by a push to ensure | |
# push-triggered jobs to not get canceled. | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[doc] | |
- name: Ape Docs | |
uses: apeworx/sphinx-ape@main | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |