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

23 lines
404 B
YAML
Raw Normal View History

2024-02-27 16:09:27 +00:00
name: Check formatting
on:
merge_group:
2024-02-27 16:09:27 +00:00
push:
branches:
- 'main'
- 'stable-*'
2024-02-27 16:09:27 +00:00
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript
- name: Check formatting with Prettier
run: yarn format:check