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
50 changes: 45 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
- name: Restore dependencies from cache
id: deps-cache
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install dependencies (cache miss only)
if: steps.deps-cache.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile

- name: Run Type Check
Expand All @@ -43,7 +51,15 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
- name: Restore dependencies from cache
id: deps-cache
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install dependencies (cache miss only)
if: steps.deps-cache.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile

- name: Run Lint
Expand All @@ -64,7 +80,15 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
- name: Restore dependencies from cache
id: deps-cache
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install dependencies (cache miss only)
if: steps.deps-cache.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile

- name: Validate UI
Expand All @@ -89,7 +113,15 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
- name: Restore dependencies from cache
id: deps-cache
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install dependencies (cache miss only)
if: steps.deps-cache.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile

- name: Run Build
Expand Down Expand Up @@ -122,7 +154,15 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
- name: Restore dependencies from cache
id: deps-cache
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install dependencies (cache miss only)
if: steps.deps-cache.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile

- name: Run Tests
Expand Down
Loading