Skip to content

Commit 8b59e85

Browse files
author
v_guanglwen
committed
feat: 代码推送增加lint检查
1 parent 9200eb6 commit 8b59e85

File tree

2 files changed

+19
-35
lines changed

2 files changed

+19
-35
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/pr-lint-check.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: PR Lint Check
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Node.js
13+
uses: actions/setup-node@v2
14+
with:
15+
node-version: '16'
16+
- name: Install dependencies
17+
run: npm install
18+
- name: Run lint
19+
run: npm run lint

0 commit comments

Comments
 (0)