Skip to content

Commit

Permalink
fix(linting): fix to ci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffchew committed Nov 6, 2023
1 parent a834a51 commit 59a223e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ jobs:
run: npm install -g pnpm@8
- name: Install dependencies
run: pnpm install
- name: Lint (staged)
if: ${{ github.event_name == 'pull_request' }}
run: pnpm lint:staged && pnpm lint:styles:staged
- name: Lint (non-staged)
if: ${{ github.event_name != 'pull_request' }}
- name: Lint
run: pnpm lint && pnpm lint:styles

license:
Expand All @@ -62,9 +58,5 @@ jobs:
run: npm install -g pnpm@8
- name: Install dependencies
run: pnpm install
- name: License check (staged)
if: ${{ github.event_name == 'pull_request' }}
run: pnpm lint:license:staged
- name: License check (non-staged)
if: ${{ github.event_name != 'pull_request' }}
- name: License check
run: pnpm lint:license

0 comments on commit 59a223e

Please sign in to comment.