Skip to content

Commit 2a9d88f

Browse files
committed
ci: add format-check job
1 parent 629a33e commit 2a9d88f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ on:
55
- pull_request
66

77
jobs:
8+
format-check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Use Node.js
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version: 16
16+
cache: 'yarn'
17+
- name: Install dependencies
18+
run: yarn
19+
- name: Format check
20+
run: yarn format:check
21+
822
build:
923
runs-on: ubuntu-latest
1024
steps:

0 commit comments

Comments
 (0)