Skip to content

Commit 985a33a

Browse files
committed
add workflow for formatting and lint checks
1 parent 51fa55e commit 985a33a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Format and lint
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
7+
jobs:
8+
format:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: "install and check format"
13+
run: |
14+
npm install
15+
npm run format:check
16+
lint:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: "install and lint"
21+
run: |
22+
npm install
23+
npm run lint

0 commit comments

Comments
 (0)