Skip to content

Commit 878f8fe

Browse files
committed
ci: add workflow to lint with prettier
1 parent c7dce5e commit 878f8fe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ name: Node.js CI
33
on: [push]
44

55
jobs:
6+
prettier:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- run: actions/checkout@v4
10+
- run: corepack enable
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 22
14+
cache: yarn
15+
- run: yarn prettier --check .
16+
617
build:
718
runs-on: ${{ matrix.os }}
819
strategy:

0 commit comments

Comments
 (0)