docs: mention about name
field in flat config (#18252)
#1
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: CI | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'docs/**' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'docs/**' | |
permissions: | |
contents: read | |
jobs: | |
verify_files: | |
name: Verify Docs Files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Install Docs Packages | |
working-directory: docs | |
run: npm install | |
- name: Install Packages | |
run: npm install --force | |
- name: Stylelint Docs | |
working-directory: docs | |
run: npm run lint:scss | |
- name: Build Docs Website | |
working-directory: docs | |
run: npm run build | |
- name: Validate internal links | |
working-directory: docs | |
run: npm run lint:links |