Memory optimization for custom element #33
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: Link Checker | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
check-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install markdown-link-check | |
run: npm install -g markdown-link-check | |
- name: Run Link Check | |
run: | | |
markdown-link-check ${GITHUB_WORKSPACE}/docs/readme.md -p -c ${GITHUB_WORKSPACE}/.github/workflows/link-check-config.json | |
continue-on-error: true # That job helps assess which links might be broken for faster periodic manual review. It shouldn't be a blocker since so many things can block it. | |
- name: Finish job | |
if: success() || failure() | |
run: | | |
echo "The link check is done ✔" | |
echo "Check the output for failures marked with: [✖]\n" | |