mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 15:16:14 +00:00
Run prettier check on commits and PRs
This commit is contained in:
4
.github/workflows/node.js.yml
vendored
4
.github/workflows/node.js.yml
vendored
@@ -27,6 +27,10 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- name: Prettier Format Check
|
||||
run: |
|
||||
npm run prettier
|
||||
git diff --exit-code
|
||||
- run: npm run lint
|
||||
- run: npm run build
|
||||
- run: npm test
|
||||
|
||||
Reference in New Issue
Block a user