diff --git a/.github/workflows/artifact.yml b/.github/workflows/artifact.yml index b8f6f5bf2..f173cdee5 100644 --- a/.github/workflows/artifact.yml +++ b/.github/workflows/artifact.yml @@ -4,8 +4,30 @@ jobs: runs-on: ubuntu-latest name: Run CircleCI artifacts redirector steps: - - name: GitHub Action step - uses: larsoner/circleci-artifacts-redirector-action@master + - name: Create URL for CircleCI artifact + id: redirect + # TODO: restore after https://github.com/larsoner/circleci-artifacts-redirector-action/pull/11 + # uses: larsoner/circleci-artifacts-redirector-action@master + uses: bollwyvl/circleci-artifacts-redirector-action@add-url-output with: repo-token: ${{ secrets.GITHUB_TOKEN }} artifact-path: 0/html/index.html + - name: Run Lighthouse on Site + id: lighthouse + uses: foo-software/lighthouse-check-action@master + with: + urls: ${{ steps.redirect.outputs.url }} + outputDirectory: /tmp/lighthouse + - name: Upload Lighthouse Reports + uses: actions/upload-artifact@master + with: + name: Lighthouse reports ${{ github.run_number }} + path: /tmp/artifacts + - name: Handle Lighthouse Check results + uses: foo-software/lighthouse-check-status-action@master + with: + lighthouseCheckResults: ${{ steps.lighthouse.outputs.lighthouseCheckResults }} + minAccessibilityScore: "98" + minBestPracticesScore: "53" + minPerformanceScore: "5" + minSeoScore: "93" diff --git a/docs/conf.py b/docs/conf.py index 99d135133..d93eb976f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,6 +20,7 @@ project = "PyData Sphinx Theme" copyright = "2019, PyData Community" author = "PyData Community" +language = "en" # The full version, including alpha/beta/rc tags release = "0.0.1dev0" diff --git a/pydata_sphinx_theme/docs-sidebar.html b/pydata_sphinx_theme/docs-sidebar.html index 1578f7395..eeffeb99c 100644 --- a/pydata_sphinx_theme/docs-sidebar.html +++ b/pydata_sphinx_theme/docs-sidebar.html @@ -4,7 +4,7 @@ {%- include "search-field.html" %} {% endif %} -