Skip to content

blog: add blog post for migrating to WebContentsView #84

blog: add blog post for migrating to WebContentsView

blog: add blog post for migrating to WebContentsView #84

name: Check Blog Links
on:
pull_request:
branches:
- main
paths:
- blog/*.md
jobs:
check-blog-links:
name: Check Blog Links
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Setup Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 20.x
- name: Install dependencies
run: yarn install
- name: Check for changed blog posts
id: check-for-changed-blog-posts
uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c # v45.0.2
with:
files: blog/*.md
- name: Check blog post links
if: steps.check-for-changed-blog-posts.outputs.any_changed == 'true'
run: npx lint-roller-markdown-links --ignore-path .markdownlintignore --fetch-external-links ${{ steps.check-for-changed-blog-posts.outputs.all_changed_files }}