Skip to content

Add job to lint posts on push and PR #9

Add job to lint posts on push and PR

Add job to lint posts on push and PR #9

Workflow file for this run

name: Lint Posts
on:
pull_request:
branches:
- 'gh-pages' # Runs when a PR targets the gh-pages branch
jobs:
lint-posts:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- run: npm ci
- run: npm run lint