Skip to content

docs(blog): add card images to Domux and MemFlywheel posts #71

docs(blog): add card images to Domux and MemFlywheel posts

docs(blog): add card images to Domux and MemFlywheel posts #71

Workflow file for this run

name: PR Check
on:
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: pr-check-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
# ============ Code Quality ============
lint:
name: Code Quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm ci
- name: ESLint
run: npm run check:eslint
- name: Prettier
run: npm run check:prettier
- name: TypeScript / Astro Check
run: npm run check:astro
# ============ Build ============
build:
name: Build
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm ci
- name: Build site
run: npm run build
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: dist-pr-${{ github.event.pull_request.number }}
path: dist/
# ============ Link Check ============
link-check:
name: Link Check
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v7
- uses: actions/download-artifact@v8
with:
name: dist-pr-${{ github.event.pull_request.number }}
path: dist/
- name: Check links
uses: lycheeverse/lychee-action@v2
with:
args: --verbose --no-progress 'dist/**/*.html'
continue-on-error: true
# ============ License Check ============
license-check:
name: License Compliance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm ci
- name: Check dependency licenses
run: npx license-checker --production --excludePrivatePackages --onlyAllow "MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;0BSD;CC0-1.0;Unlicense;BlueOak-1.0.0;OFL-1.1;MPL-2.0;LGPL-3.0-or-later;Python-2.0"