Skip to content

Add formatting

Add formatting #1

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: Format
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Format Markdown files
run: npx prettier --check "**/*.{md,yaml,yml}"