Skip to content

Commit

Permalink
Sync validate-markdown workflow with main (3.0.4) (#3558)
Browse files Browse the repository at this point in the history
* Sync validate-markdown workflow with main (3.0.4)

* Match latest environment from main
  • Loading branch information
handrews authored Feb 15, 2024
1 parent 747fe4f commit d948ced
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/validate-markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1 # checkout repo content
- uses: actions/setup-node@v1 # setup Node.js
- uses: actions/checkout@v4 # checkout repo content
with:
node-version: '12.x'
fetch-depth: 0
- name: use the javascript environment from main
run: |
git checkout remotes/origin/main -- package.json package-lock.json
- uses: actions/setup-node@v4 # setup Node.js
with:
node-version: '20.x'
- name: Validate markdown
run: npx mdv versions/3.*.md
run: npx --yes mdv versions/3.*.md

0 comments on commit d948ced

Please sign in to comment.