Skip to content

Guardrails cookbook #591

Guardrails cookbook

Guardrails cookbook #591

name: Check Prettier Formatting
on:
pull_request:
branches:
- main
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'
- name: Install dependencies
run: npm install
- name: Check formatting
run: npm run format:check