2024-02-28 03:09:27 +11:00
|
|
|
name: Check formatting
|
|
|
|
on:
|
2024-07-07 19:39:31 +10:00
|
|
|
merge_group:
|
2024-02-28 03:09:27 +11:00
|
|
|
push:
|
2024-07-07 19:39:31 +10:00
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'stable-*'
|
2024-02-28 03:09:27 +11: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
|