Bump actions/setup-node from 3 to 4 #359
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Markdown links | |
# Run action on pull request event | |
on: [pull_request] | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout to latest commit | |
- uses: actions/checkout@master | |
- name: Waiting for Netlify Preview | |
uses: kamranayub/[email protected] | |
id: preview | |
with: | |
site_name: "toha" | |
max_timeout: 300 | |
env: | |
NETLIFY_TOKEN: ${{secrets.NETLIFY_TOKEN}} | |
- name: Link Checker | |
id: lychee | |
uses: lycheeverse/[email protected] | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
with: | |
args: "--verbose --exclude-mail ${{steps.preview.outputs.url}}" | |
fail: true | |
- name: Comment Broken Links | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
path: lychee/out.md |