Skip to content

Commit

Permalink
ci: 修改lint的ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chaxus committed Dec 11, 2022
1 parent 4df1101 commit 353a940
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
- name: Build
run: pnpm run build

- name: format
run: pnpm run format

- name: Test
run: pnpm run test

Expand Down
2 changes: 1 addition & 1 deletion bin/lint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

bin=./node_modules/.bin
pnpm run format && $bin/eslint --cache . && $bin/prettier --check --cache .
$bin/eslint --cache . && $bin/prettier --check --cache .

0 comments on commit 353a940

Please sign in to comment.