Skip to content

chore(deps): bump actions/setup-node from 4 to 5 #34

chore(deps): bump actions/setup-node from 4 to 5

chore(deps): bump actions/setup-node from 4 to 5 #34

Workflow file for this run

name: Format Check
on:
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check formatting
run: |
npm run format
git diff --exit-code src/ || (echo "Formatting needs to be fixed. Please run 'npm run format' to fix it." && exit 1)