[IA] New platforms section with Android placeholder, and more #11664
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: Spelling | |
on: | |
merge_group: | |
pull_request: | |
jobs: | |
spelling-check: | |
name: SPELLING check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- run: npm run _install:dict --ignore-scripts | |
- uses: streetsidesoftware/cspell-action@v6 | |
with: | |
# Files should be consistent with check:spelling files | |
files: | | |
content | |
data | |
layouts/**/*.md | |
config: .cspell.yml | |
incremental_files_only: false | |
suggestions: true | |
dict-check: | |
name: CSPELL page-local word list check | |
runs-on: ubuntu-latest | |
env: | |
FIX_CMD: fix:dict | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm run ${{ env.FIX_CMD }} | |
- name: Any changed files? | |
run: | | |
CHANGES=`git status --porcelain` | |
if [[ $CHANGES ]]; then | |
echo "Add comment '/fix:${{ env.FIX_CMD }}' to your PR in GitHub," | |
echo "or locally run 'npm run ${{ env.FIX_CMD }}' and commit the changes:" | |
echo "$CHANGES" | |
exit 1 | |
else | |
echo "All page-local dictionaries are well formatted." | |
fi |