add prettier to CI

main
CTome 2022-09-17 03:06:12 +01:00 committed by GitHub
parent 2d8a122fe2
commit 06c52cb09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -29,5 +29,7 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: '18.x' node-version: '18.x'
- name: run Prettier
run: npx prettier --check .
- name: Run npm - name: Run npm
run: npm install && npm run build run: npm install && npm run build