Skip to content

Commit

Permalink
ci(link-check): replace npx linkinator call with github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Apr 21, 2022
1 parent ce56e18 commit 67ffdfe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ on:
- master
paths:
- "**/*.md"
- "!CHANGELOG.md"
pull_request:
branches:
- master
paths:
- "**/*.md"
- "!CHANGELOG.md"
types: [opened, ready_for_review, reopened, synchronize]
schedule:
# ┌───────────── minute (0 - 59)
Expand Down Expand Up @@ -41,10 +43,8 @@ jobs:
- name: Check out repo
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Run Linkinator
run: npx linkinator '{,!(node_modules)/**/}*.md' --skip 'https:\/\/(?:www\.|)github\.com\/Fdawgs\/.*\/(?:commit|issues)\/, http://0.0.0.0'
uses: JustinBeckwith/linkinator-action@v1
with:
paths: "**/*.md"
linksToSkip: "https://(?:www.|)github.com/Fdawgs/.*/(?:commit|issues|compare)/, http://0.0.0.0"

0 comments on commit 67ffdfe

Please sign in to comment.