webder/.github/workflows/format-check.yml

20 lines
394 B
YAML
Raw Normal View History

2024-03-21 14:47:07 +03:00
name: format-check
on: pull_request
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Check formatting
run: npm run format:check