From 93d43c127677cc99efce43824095e5677b44a0b0 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 26 Jul 2021 14:42:33 +0200 Subject: [PATCH] improve --- .github/workflows/static-code-analysis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 67e76352..22bd6ac9 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -8,15 +8,18 @@ jobs: strategy: matrix: - pacakge: [dashboard, dnslink-api, handshake-api, health-check, website] + package: [dashboard, dnslink-api, handshake-api, health-check, website] fail-fast: false + defaults: + run: + working-directory: packages/${{ matrix.package }} + steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: 16.x - - name: Static code analysis for ${{ matrix.package }} - working-directory: packages/${{ matrix.package }} - run: yarn && yarn prettier --check . + - run: yarn + - run: yarn prettier --check .