all-of-frontend/.github/workflows/markdown.yml

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'