forked from mdn/content
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 908 Bytes
/
Copy pathpr-check_cspell_lists.yml
File metadata and controls
33 lines (28 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Check cSpell lists
on:
pull_request:
paths:
- .vscode/dictionaries/*
# No GITHUB_TOKEN permissions, as we don't use it.
permissions: {}
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
sparse-checkout-cone-mode: false
sparse-checkout: |
.vscode/dictionaries/*
.nvmrc
package.json
package-lock.json
scripts/sort_and_unique_file_lines.js
persist-credentials: false
- name: Setup Node.js environment
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
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