feat(i18n): add localization for UnknownPaneType #838
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: Create Documentation Report | |
on: | |
# Build on pushes branches that have a PR (including drafts) | |
pull_request: | |
# Build on commits pushed to branches without a PR if it's in the allowlist | |
push: | |
branches: [current, next] | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache node modules | |
id: cache-node-modules | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-modules-${{ env.cache-name }}- | |
${{ runner.os }}-modules- | |
${{ runner.os }}- | |
- name: Install project dependencies | |
if: steps.cache-node-modules.outputs.cache-hit != 'true' | |
run: yarn install --frozen-lockfile | |
- name: Build packages | |
run: yarn build | |
env: | |
NODE_OPTIONS: --max_old_space_size=8192 | |
- name: Create Docs Report on current or next | |
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/current' || github.ref == 'refs/heads/next') }} | |
env: | |
DOCS_REPORT_TOKEN: ${{ secrets.DOCS_REPORT_DATASET_TOKEN }} | |
DOCS_REPORT_DATASET: ${{ github.ref == 'refs/heads/current' && 'production' || 'next'}} | |
run: yarn docs:report:create | |
- name: Create Docs Report on PR | |
if: ${{ github.event_name == 'pull_request' }} | |
env: | |
DOCS_REPORT_TOKEN: ${{ secrets.DOCS_REPORT_DATASET_TOKEN }} | |
DOCS_REPORT_DATASET: pr-${{ github.event.number }} | |
run: yarn docs:report:create | |
- name: Compare Docs Coverage on PR | |
if: ${{ github.event_name == 'pull_request' }} | |
env: | |
DOCS_REPORT_TOKEN: ${{ secrets.DOCS_REPORT_DATASET_TOKEN }} | |
DOCS_REPORT_DATASET: pr-${{ github.event.number }} | |
run: yarn docs:report | |
- name: PR comment with report | |
uses: thollander/actions-comment-pull-request@d61db783da9abefc3437960d0cce08552c7c004f # v2 | |
if: ${{ github.event_name == 'pull_request' }} | |
with: | |
comment_tag: 'docs-report' | |
filePath: ${{ github.workspace }}/scripts/docs-report.md |