Skip to content

Commit

Permalink
👷 simplify markdown link checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Nov 14, 2023
1 parent 6dd5653 commit 5c39704
Show file tree
Hide file tree
Showing 4 changed files with 400 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/markdown-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@ jobs:
with:
fetch-depth: 0

- uses: gaurav-nelson/github-action-markdown-link-check@v1
- name: Use Node.js
uses: actions/setup-node@v3
with:
config-file: '.mlc_config.json'
node-version: '18.5'
cache: 'npm'

- name: Check markdown links
run: |
npm ci
npm run test
- id: website-bump
if: github.ref == 'refs/heads/main' && github.repository == 'commonhaus/foundation-draft'
env:
GH_TOKEN: ${{ secrets.ACTIONS_PUBLISH_PAT }}
run: |
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
*.DS_Store
.vscode
public
package-lock.json
package.json
node_modules
Loading

0 comments on commit 5c39704

Please sign in to comment.