Skip to content

Config check

Config check #569

Workflow file for this run

name: Links check build
on:
pull_request:
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Build VuePress site
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
pnpm build
- name: Anchor tag Checker
run: pnpm link-checker
- name: Link Checker
uses: lycheeverse/[email protected]
with:
fail: true
args: --exclude-mail --base="src/.vuepress/dist" src/.vuepress/dist
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}