diff --git a/.github/workflows/fmt-check.yml b/.github/workflows/fmt-check.yml new file mode 100644 index 0000000..4ceed1a --- /dev/null +++ b/.github/workflows/fmt-check.yml @@ -0,0 +1,22 @@ +name: Format Check + +on: [push, pull_request] + +jobs: + fmt-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '23' + + - name: Install dev dependencies + run: npm install --only=dev + + - name: Run format check + run: npm run fmt-check