From f204487832d90c9548f5eebdc5c96276b0b43bbe Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 26 Jul 2021 14:35:01 +0200 Subject: [PATCH] fix static code analysis --- .github/workflows/static-code-analysis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index b216b446..fddc80d6 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -12,20 +12,22 @@ jobs: with: node-version: 16.x - - name: Install dependencies - run: yarn - - name: "Static code analysis: handshake-api" - run: yarn workspace handshake-api prettier --check . + working-directory: packages/handshake-api + run: yarn && yarn prettier --check . - name: "Static code analysis: health-check" - run: yarn workspace health-check prettier --check . + working-directory: packages/health-check + run: yarn && yarn prettier --check . - name: "Static code analysis: website" - run: yarn workspace website prettier --check . + working-directory: packages/website + run: yarn && yarn prettier --check . - name: "Static code analysis: dashboard" - run: yarn workspace dashboard prettier --check . + working-directory: packages/dashboard + run: yarn && yarn prettier --check . - name: "Static code analysis: dnslink-api" - run: yarn workspace dnslink-api prettier --check . + working-directory: packages/dnslink-api + run: yarn && yarn prettier --check .