We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f60ea1 commit bf68bcfCopy full SHA for bf68bcf
.github/workflows/validate-markdown.yaml
@@ -18,10 +18,15 @@ jobs:
18
runs-on: ubuntu-latest
19
20
steps:
21
- - uses: actions/checkout@v2 # checkout repo content
22
- - uses: actions/setup-node@v1 # setup Node.js
+ - uses: actions/checkout@v4 # checkout repo content
23
with:
24
- node-version: '12.x'
+ fetch-depth: 0
+ - name: use the javascript environment from main
25
+ run: |
26
+ git checkout remotes/origin/main -- package.json package-lock.json
27
+ - uses: actions/setup-node@v4 # setup Node.js
28
+ with:
29
+ node-version: '20.x'
30
- name: Validate markdown
- run: npx mdv versions/3.*.md
31
+ run: npx --yes mdv versions/3.*.md
32
0 commit comments