Skip to content

Commit

Permalink
chore: Lint only after building (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorlanigan authored Aug 17, 2023
1 parent 6cd666a commit d818775
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d818775

Please # to comment.