Skip to content

Commit

Permalink
ci(format-and-lint): Setup turbo only for linting (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
AsPulse authored Dec 11, 2023
1 parent 2dd00ab commit dffd3eb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/format-and-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup turbo
uses: ./.github/actions/setup-turbo
with:
turbo-cache-key: prettier
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Run Prettier
run: pnpm run format:check

eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Setup turbo
uses: ./.github/actions/setup-turbo
with:
turbo-cache-key: lint
- name: Run ESLint
run: pnpm run lint

0 comments on commit dffd3eb

Please sign in to comment.