Skip to content

Commit d631a00

Browse files
JinjiangJustineo
authored andcommitted
chore: add zhlint into ci
1 parent 48cf9cf commit d631a00

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches-ignore: ['gh-pages']
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v2
16+
with:
17+
version: 8
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
cache: 'pnpm'
22+
- run: |
23+
pnpm install
24+
pnpm lint

0 commit comments

Comments
 (0)