add-prettier: Add github action to check by prettier

This commit is contained in:
maskeynihal
2023-10-12 11:48:36 +05:45
parent 21d7b7b43e
commit 1aa8b2396d
2 changed files with 20 additions and 0 deletions

View File

@@ -59,3 +59,22 @@ jobs:
- name: Test i18n packs integrity
run: npm run test:i18n-packs
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm ci
- name: Test with prettier
run: npm run test:prettier