Skip to content

Reorganize custom dictionaries, better spell checking infra #15

Reorganize custom dictionaries, better spell checking infra

Reorganize custom dictionaries, better spell checking infra #15

name: Check cSpell lists
on:
pull_request:
branches:
- main
paths:
- .vscode/ignore-list.txt
- .vscode/terms-abbreviations.txt
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout-cone-mode: false
sparse-checkout: |
.vscode/ignore-list.txt
.vscode/terms-abbreviations.txt
.nvmrc
package.json
scripts/sort_and_unique_file_lines.js
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Check if cSpell word lists are in correct order
run: |
node scripts/sort_and_unique_file_lines.js --check .vscode/dictionaries/*.txt
# Let the shell expand the glob pattern for us
shell: bash