fix(ci): improve logging in the reviewdog workflow #45
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: Check cSpell lists | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- .vscode/dictionaries/* | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout-cone-mode: false | |
sparse-checkout: | | |
.vscode/dictionaries/* | |
.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 |