testing docusaurus action #5
Workflow file for this run
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: Test deployment | |
on: | |
push: # todo remove | |
branches: | |
- docs/adding-docs-app | |
pull_request: | |
branches: | |
- docs | |
jobs: | |
test-deploy: | |
name: Test deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
# - name: Install VAME Project. | |
# run: | | |
# python -m pip install --upgrade pip | |
# pip install . | |
- name: Install docs dependencies. | |
run: pip install -r docs/requirements-docs.txt | |
- name: Auto generate API Reference. | |
run: cd docs && pydoc-markdown | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
working-directory: docs/vame-docs-app | |
cache-dependency-path: docs/vame-docs-app/yarn.lock | |
- name: Install dependencies | |
run: cd docs/vame-docs-app && yarn install --frozen-lockfile | |
- name: Test build website | |
run: cd docs/vame-docs-app && yarn build |