Skip to content

chore(docs): update deps/renovate digest to 66de046 #10842

chore(docs): update deps/renovate digest to 66de046

chore(docs): update deps/renovate digest to 66de046 #10842

Workflow file for this run

name: publish-docs
on:
push:
branches:
- '**'
- '!gh-pages'
pull_request:
branches:
- 'main'
env:
POETRY_VERSION: 1.8.3 # renovate: datasource=pypi depName=poetry
HUSKY: 0 # disable husky on CI
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
submodules: true
- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
with:
standalone: true
- name: Set up Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: .node-version
cache: 'pnpm' # doesn't cache cypress
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install poetry
run: pipx install poetry==${{ env.POETRY_VERSION }}
- name: Set up Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version-file: .python-version
cache: 'poetry'
# install again to use newer python version
- name: Install poetry
run: pipx install poetry==${{ env.POETRY_VERSION }}
- name: Init platform
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
git config --global user.email 'bot@renovateapp.com'
git config --global user.name 'Renovate Bot'
python --version
poetry --version
- name: Cache node_modules and cypress
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
~/.cache/Cypress
node_modules
key: npm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Installing dependencies
run: make install
- name: Run Prettier
run: pnpm prettier
- name: Run shellcheck
uses: reviewdog/action-shellcheck@72365a51bf6476fe952a117c3ff703eb7775e40a # v1.20.0
with:
reporter: github-pr-review
filter_mode: nofilter
path: |
bin
.devcontainer
.husky
pattern: '*.sh'
check_all_files_with_shebangs: 'true'
- name: Prepare docs
run: make prepare
- name: Build cache decoder
run: make build-decoder
- name: Build docs
run: make build-docs
- name: Upload site artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: site
path: site/
if-no-files-found: error
- name: Cypress run
uses: cypress-io/github-action@1b70233146622b69e789ccdd4f9452adc638d25a # v6.6.1
with:
start: make serve
wait-on: 'http://127.0.0.1:8000/'
# we have already installed all dependencies above
install: false
timeout-minutes: 3
- name: Upload cypress artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: always()
with:
name: cypress
path: |
cypress/videos/
cypress/screenshots/
if-no-files-found: error
- name: Publish docs
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: make deploy