tasko/.github/workflows/prettier.yml

30 lines
528 B
YAML
Raw Normal View History

name: Code Format Check
on:
push:
2024-04-08 17:22:13 +00:00
branches: [main]
pull_request:
2024-04-08 17:22:13 +00:00
branches: [main]
jobs:
check-format:
runs-on: ubuntu-latest
steps:
2024-04-08 17:22:13 +00:00
- name: Check out code
uses: actions/checkout@v4
2024-04-08 17:22:13 +00:00
- name: Set up Node.js
uses: actions/setup-node@v4
with:
2024-12-28 22:36:50 +00:00
node-version: 'latest'
2024-06-05 00:41:40 +00:00
- name: Configure Corepack
run: corepack enable
2024-04-08 17:22:13 +00:00
- name: Install dependencies
2025-01-10 23:26:17 +00:00
run: yarn install --immutable
2024-04-08 17:22:13 +00:00
- name: Check code format
2025-01-10 23:26:17 +00:00
run: yarn format