Skip to content

Commit

Permalink
ci: add prettier workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Oct 14, 2023
1 parent 03d1f37 commit 351515e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 351515e

Please sign in to comment.