Skip to content

Commit

Permalink
Add a GH action for the link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotes committed May 29, 2024
1 parent bd16a91 commit 934d7c0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check if all links are reachable
on:
push:
branches: main
pull_request:
branches: main
workflow_dispatch:

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Checkout
uses: actions/checkout@v3
- name: Install
run: npm install
- name: Check links
run: npm run check:links

0 comments on commit 934d7c0

Please sign in to comment.