检查链接

pull/38/head
jaredliw 2021-07-24 10:19:12 +08:00
parent f671c90754
commit 4e558a45da
2 changed files with 21 additions and 2 deletions

19
.github/workflows/check_dead_links.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Check Markdown links
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- uses: gaurav-nelson/github-action-markdown-link-check@v1

View File

@ -1,4 +1,4 @@
name: Format files
name: Restructure files
on:
push:
@ -19,7 +19,7 @@ jobs:
- name: Install Prettier
run: npm install --save-dev --save-exact prettier
- name: Format files
- name: Restructure files
run: node_modules/.bin/prettier --write README.md animation-simulation/
- name: Commit files