Skip to content

Commit

Permalink
ci: combine UI linting jobs
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 16, 2023
1 parent fe55cae commit ab0a123
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,28 +45,18 @@ jobs:
make install-tools
vendor/bin/psalm --no-cache --shepherd --stats --threads=4 lib
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout the app
uses: actions/checkout@v3

- name: Install Pretter
run: npm install --no-save "prettier@$(cat ./package.json | jq -r '.devDependencies["prettier"]')"

- name: Run Prettier
run: npx prettier src --check

vue-tsc:
name: Vue Type Checking
vue-tsc-prettier:
name: Vue Lint
runs-on: ubuntu-latest
steps:
- name: Checkout the app
uses: actions/checkout@v3

- name: Install vue-tsc
run: npm install --no-save "vue-tsc@$(cat ./package.json | jq -r '.devDependencies["vue-tsc"]')"
run: npm ci

- name: Run vue-tsc
run: npx vue-tsc --noEmit --skipLibCheck

- name: Run Prettier
run: npx prettier src --check

0 comments on commit ab0a123

Please sign in to comment.