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
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,26 @@ jobs:
path: open-api
merge-multiple: true

- name: Enable pnpm with corepack
run: corepack enable pnpm

- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 22.x
cache: 'pnpm'
cache-dependency-path: ui/menu-website/pnpm-lock.yaml

- name: Enable pnpm with corepack
run: corepack enable pnpm

- name: Get pnpm store directory
id: pnpm-cache
run: echo "STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
working-directory: ./ui/menu-website

- name: Cache pnpm store
uses: actions/cache@v5
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('ui/menu-website/pnpm-lock.yaml', 'ui/menu-website/package.json') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install frontend dependencies
run: pnpm install --frozen-lockfile
Expand Down
Loading