Repository navigation
Bump chalk from 5.6.2 to 6.0.1 #852
Workflow file for this run
This file contains hidden or 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: All documents script | |
| # Catches all-documents crashes. This workflow has no output assertions. | |
| on: | |
| pull_request: | |
| paths: | |
| - 'src/content-render/scripts/all-documents/**' | |
| - 'package*.json' | |
| - .github/workflows/all-documents.yml | |
| permissions: | |
| contents: read | |
| jobs: | |
| all-documents-script: | |
| if: github.repository == 'github/docs-internal' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: ./.github/actions/node-npm-setup | |
| - name: Run all-documents script | |
| env: | |
| NODE_ENV: production | |
| run: | | |
| echo "Help..." | |
| npm run all-documents -- --help | |
| echo "" | |
| echo "Storing in a file (English only)" | |
| npm run all-documents -- -o all-documents.json -l en | |
| echo "" | |
| echo "Look at the first 50 lines of the file..." | |
| cat all-documents.json | jq | head -n 50 |