Skip to content

Commit

Permalink
fix: ci lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
VmMad committed Jan 10, 2024
1 parent 40e07fa commit be40130
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/pr-lint-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,28 @@ on:
types: [opened, reopened, synchronize]

jobs:
install_deps:
lint-check:
strategy:
matrix:
project: [api, client]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "16"

- name: Install Dependencies
run: cd ${{ matrix.project }} && npm install
run: npm install
working-directory: ${{ matrix.project }}

- name: Format Check
run: npm run format:check
working-directory: ${{ matrix.project }}

- name: Lint Check
run: npm run lint
run: npm run lint:check
working-directory: ${{ matrix.project }}

0 comments on commit be40130

Please sign in to comment.