File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 29
29
node-version : ' 20.x'
30
30
31
31
- name : Install dependencies from main
32
- run : |
33
- git checkout remotes/origin/main -- package.json package-lock.json
34
- npm ci
32
+ run : npm ci
35
33
36
34
- name : Run tests
37
35
run : npm run test
Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ jobs:
18
18
runs-on : ubuntu-latest
19
19
20
20
steps :
21
+
21
22
- uses : actions/checkout@v4 # checkout repo content
22
23
with :
23
24
fetch-depth : 0
24
- - name : use the javascript environment from main
25
- run : |
26
- git checkout remotes/origin/main -- package.json package-lock.json .markdownlint.yaml
25
+
27
26
- uses : actions/setup-node@v4 # setup Node.js
28
27
with :
29
28
node-version : ' 20.x'
29
+
30
30
- name : Validate markdown
31
31
run : npx --yes mdv versions/3.*.md
32
+
32
33
- name : Lint markdown 3.0.4, 3.1.1, and later
33
34
run : npx --yes markdownlint-cli --config .markdownlint.yaml versions/3.0.4.md versions/3.1.[^0].md versions/3.[2-9].*.md
You can’t perform that action at this time.
0 commit comments