ci: add prettier workflow

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/877/head
Varun Patil 2023-10-14 12:50:28 -07:00
parent 03d1f37a29
commit 351515ea18
1 changed files with 14 additions and 1 deletions

View File

@ -6,7 +6,7 @@ on:
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
name: PHP Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -44,3 +44,16 @@ jobs:
cd apps/memories
make install-tools
vendor/bin/psalm --no-cache --shepherd --stats --threads=4 lib
prettier:
name: Vue/Typescript Lint
runs-on: ubuntu-latest
steps:
- name: Checkout the app
uses: actions/checkout@v3
- name: Install Pretter
run: npm install -g prettier
- name: Run Prettier
run: npx prettier src --check