Skip to content

Add GitHub Action to check formatting. #2

Add GitHub Action to check formatting.

Add GitHub Action to check formatting. #2

Workflow file for this run

name: Check formatting
on: push
jobs:
check-formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- run: |
npm install --dev
- run: |
npm run format-check