Config check #576
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |