Skip to content

docs: add Electron 30 blog post #26

docs: add Electron 30 blog post

docs: add Electron 30 blog post #26

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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
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@2d756ea4c53f7f6b397767d8723b3a10a9f35bf2 # v44.0.0
with:
files: blog/*.md
- name: Check blog post links
if: steps.check-for-changed-blog-posts.outputs.any_changed == 'true'
run: npx electron-lint-markdown-links --ignore-path .markdownlintignore --fetch-external-links ${{ steps.check-for-changed-blog-posts.outputs.all_changed_files }}