From d818775d86237c900ae3c663df55b91bf5a4fb37 Mon Sep 17 00:00:00 2001 From: Connor Lanigan Date: Thu, 17 Aug 2023 16:28:51 +0200 Subject: [PATCH] chore: Lint only after building (#56) --- .github/workflows/build-lint-test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index f27e0b4..ab8629b 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -5,21 +5,21 @@ on: inputs: skip-codeql: type: boolean - description: "Skip CodeQL checks" + description: 'Skip CodeQL checks' required: false default: false skip-codecov: type: boolean - description: "Skip code coverage step" + description: 'Skip code coverage step' required: false default: false artifact-path: type: string - description: "An optional file, directory or wildcard pattern that describes what to upload" + description: 'An optional file, directory or wildcard pattern that describes what to upload' artifact-name: type: string - description: "An optional artifact name" - default: "artifact" + description: 'An optional artifact name' + default: 'artifact' permissions: actions: read @@ -38,8 +38,8 @@ jobs: - name: Unlock dependencies uses: cloudscape-design/.github/.github/actions/unlock-dependencies@main - run: npm i --force - - run: npm run lint - run: npm run build + - run: npm run lint - run: npm run test if: ${{ github.repository != 'cloudscape-design/components' }} - run: npm run test:unit