Add index docs page. #18
Workflow file for this run
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: Formatting for Markdown and YAML | |
on: | |
push: | |
branches: ["main"] | |
paths: ["**/*.md", "**/*.yml", "**/*.yaml"] | |
pull_request: | |
branches: ["main"] | |
paths: ["**/*.md", "**/*.yml", "**/*.yaml"] | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
cache: "npm" | |
- name: Install | |
run: npm ci --save-dev | |
- name: Check formatting | |
run: | | |
npx prettier --version | |
npx prettier --check --no-error-on-unmatched-pattern **/*.md **/*.yml **/*.yaml |