Skip to content

Commit

Permalink
ci(root): add caching
Browse files Browse the repository at this point in the history
  • Loading branch information
tszhong0411 committed Jul 31, 2024
1 parent ec3da16 commit e9869ac
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"**/.*.{js,cjs,mjs,jsx,ts,cts,mts,tsx,md,mdx,json,yml,yaml,svg,webmanifest}",
".*/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx,md,mdx,json,yml,yaml,svg,webmanifest}"
],
"ignorePaths": ["pnpm-lock.yaml", "CHANGELOG.md"],
"ignorePaths": ["pnpm-lock.yaml", "CHANGELOG.md", ".pnpm-store/"],
"import": ["@cspell/dict-software-terms", "@cspell/dict-npm", "@cspell/dict-fullstack"],
"useGitignore": true,
"version": "0.2"
Expand Down
1 change: 1 addition & 0 deletions .cspell/libraries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ normy
nuxt
paralleldrive
rehype
rharkor
rmiz
shadcn
shiki
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/check-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ runs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Cache for Turbo
uses: rharkor/caching-for-turbo@v1.5

- name: Install dependencies
shell: bash
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: ./.github/actions/check-setup

- name: Build the app
run: pnpm --filter=web build
run: turbo build --filter=./apps/web

- name: Store Playwright's Version
run: |
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
pnpm-lock.yaml
*.code-snippets
**/migrations/**

# For CI
.pnpm-store/

0 comments on commit e9869ac

Please sign in to comment.