Skip to content

Commit

Permalink
feat: cache root scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jan 23, 2024
1 parent cd66c55 commit 0ea077e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
run: pnpm lint:spell

- name: Lint Markdown
run: pnpm lint:md
run: pnpm turbo lint:md

- name: Check Formatting
run: pnpm format:check
run: pnpm turbo format:check

- name: Lint
run: pnpm turbo lint
Expand Down
10 changes: 10 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
"dependsOn": ["^build"],
"outputs": [".eslintcache"]
},
"//#format:check": {
"cache": true
},
"//#lint:md": {
"cache": true,
"inputs": ["**/*.md", ".github/**/*.md"]
},
"//#lint:spell": {
"cache": true
},
"//#lint": {
"cache": true,
"outputs": [".eslintcache"]
Expand Down

0 comments on commit 0ea077e

Please sign in to comment.