refactor: _pip_is_lib_installed method can now check if version is equal or higher #1441
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: docs | |
on: | |
push: | |
branches: | |
- "main" | |
- "develop" | |
- "release/**" | |
pull_request: | |
branches: | |
- "main" | |
- "develop" | |
- "release/**" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.7 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: install deps | |
uses: ./.github/actions/cached-ui-deps | |
with: | |
node-version: "20" | |
- name: Build Storybook | |
run: | | |
cd ui | |
yarn run build-storybook --quiet --output-dir ../docs/storybook/ | |
cd ../ | |
- run: | | |
curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1 | |
poetry install | |
- name: Deploy to GitHub Pages | |
if: github.ref_name == 'main' | |
run: poetry run mkdocs gh-deploy --force --strict | |
- name: Build Docs | |
if: github.ref_name != 'main' | |
run: poetry run mkdocs build --strict |