检查链接
parent
f671c90754
commit
4e558a45da
|
@ -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
|
|
@ -1,4 +1,4 @@
|
||||||
name: Format files
|
name: Restructure files
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Install Prettier
|
- name: Install Prettier
|
||||||
run: npm install --save-dev --save-exact 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/
|
run: node_modules/.bin/prettier --write README.md animation-simulation/
|
||||||
|
|
||||||
- name: Commit files
|
- name: Commit files
|
Loading…
Reference in New Issue