Skip to content

Commit

Permalink
Merge pull request #818 from tszhong0411/app-13-add-turbo-nextjs-cach…
Browse files Browse the repository at this point in the history
…ing-in-ci

ci(root): add caching
  • Loading branch information
tszhong0411 committed Jul 31, 2024
2 parents ec3da16 + ce0d292 commit be1ab64
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 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
4 changes: 2 additions & 2 deletions .github/workflows/playwright-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- name: Check setup
uses: ./.github/actions/check-setup

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

- 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 be1ab64

Please sign in to comment.