mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
23 lines
404 B
YAML
23 lines
404 B
YAML
name: Check formatting
|
|
on:
|
|
merge_group:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'stable-*'
|
|
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
|