Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 109 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Lint & Format check
Expand All @@ -48,7 +60,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Restore turbo cache
Expand All @@ -74,7 +98,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Check unused dependencies
Expand All @@ -92,7 +128,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Validate version sync
Expand All @@ -110,7 +158,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Validate changesets
Expand All @@ -128,7 +188,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Check schema diff
Expand All @@ -146,7 +218,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Prepare test environment
Expand All @@ -169,7 +253,19 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Cache dependencies
id: deps-cache
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Restore turbo cache
Expand Down Expand Up @@ -212,8 +308,20 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Install dependencies
- name: Cache dependencies
id: deps-cache
if: steps.check_files.outputs.needs_changeset == 'true'
uses: actions/cache@v5
with:
path: |
node_modules
packages/*/node_modules
packages/providers/*/node_modules
apps/*/node_modules
key: deps-${{ runner.os }}-${{ hashFiles('bun.lock') }}

- name: Install dependencies
if: steps.check_files.outputs.needs_changeset == 'true' && steps.deps-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Check changeset
Expand Down