chore: release notes for Renovate v37 #8046
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: publish-docs | |
on: | |
push: | |
branches: | |
- '**' | |
- '!gh-pages' | |
pull_request: | |
branches: | |
- 'main' | |
env: | |
NODE_VERSION: 18.18.0 # renovate: datasource=node depName=node | |
PYTHON_VERSION: 3.11.5 # renovate: datasource=github-releases depName=python packageName=containerbase/python-prebuild | |
# Don't use PIPENV_VERSION: https://github.com/pypa/pipenv/issues/3633#issuecomment-478250721 | |
RENOVATE_PIPENV_VERSION: 2023.9.8 # renovate: datasource=pypi depName=pipenv | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: Checkout submodules | |
shell: bash | |
run: | | |
auth_header="$(git config --local --get http.https://github.com/.extraheader)" | |
git submodule sync --recursive | |
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 | |
- name: Set up Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: 'pipenv' | |
- 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 | |
pip install pipenv==${{ env.RENOVATE_PIPENV_VERSION }} | |
pipenv --version | |
corepack enable | |
- name: Installing dependencies | |
run: make install | |
- name: Run Prettier | |
run: yarn prettier | |
- name: Run shellcheck | |
uses: reviewdog/action-shellcheck@96fa305c16b0f9cc9b093af22dcd09de1c8f1c2d # v1.19.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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: site | |
path: site/ | |
if-no-files-found: error | |
- name: Cypress run | |
uses: cypress-io/github-action@59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2 # v6.5.0 | |
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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.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 |