diff --git a/.github/workflows/pr-lint-check.yaml b/.github/workflows/pr-lint-check.yaml index beb5e1b05..eeeed8312 100644 --- a/.github/workflows/pr-lint-check.yaml +++ b/.github/workflows/pr-lint-check.yaml @@ -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 }} +