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 2929 node-version : ' 20.x'
3030
3131 - 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
3533
3634 - name : Run tests
3735 run : npm run test
Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ jobs:
1818 runs-on : ubuntu-latest
1919
2020 steps :
21+
2122 - uses : actions/checkout@v4 # checkout repo content
2223 with :
2324 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+
2726 - uses : actions/setup-node@v4 # setup Node.js
2827 with :
2928 node-version : ' 20.x'
29+
3030 - name : Validate markdown
3131 run : npx --yes mdv versions/3.*.md
32+
3233 - name : Lint markdown 3.0.4, 3.1.1, and later
3334 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