mirror of
https://github.com/KieSun/all-of-frontend.git
synced 2024-11-22 23:08:14 +08:00
30 lines
737 B
YAML
30 lines
737 B
YAML
# This workflow uses actions that are not certified by GitHub.
|
|
# They are provided by a third-party and are governed by
|
|
# separate terms of service, privacy policy, and support
|
|
# documentation.
|
|
|
|
# This workflow will install Deno then run Deno lint and test.
|
|
# For more information see: https://github.com/denoland/setup-deno
|
|
|
|
name: markdown-autodocs
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install
|
|
run: |
|
|
npm i -g prettier
|
|
prettier README.md -w
|
|
- uses: EndBug/add-and-commit@v7 # You can change this to use a specific version.
|
|
with:
|
|
add: './README.md'
|