Skip to content

Commit b3f5d93

Browse files
authored
Align the markdown workflow with the others (#3570)
Checkout package-lock.json from main and use node v20. Add --yes to npx because it seems to need it when run locally, although it's probably redundant in the CI environment. But it's safe to include.
1 parent 21e2c2e commit b3f5d93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/validate-markdown.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
fetch-depth: 0
2424
- name: use the javascript environment from main
2525
run: |
26-
git checkout remotes/origin/main -- package.json
26+
git checkout remotes/origin/main -- package.json package-lock.json
2727
- uses: actions/setup-node@v4 # setup Node.js
2828
with:
29-
node-version: '14.x'
29+
node-version: '20.x'
3030
- name: Validate markdown
31-
run: npx mdv versions/3.*.md
31+
run: npx --yes mdv versions/3.*.md
3232

0 commit comments

Comments
 (0)