diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57fb52149b4c8659fb461e1ac1c3513be4749271..90d02ba4789062b35f3d72fb25eeae0cc1a16bda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,17 +42,20 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' + cache: true - name: Set up pnpm uses: pnpm/action-setup@v4 with: version: 9 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '24' + cache: 'pnpm' + cache-dependency-path: ui/pnpm-lock.yaml + - name: Build UI run: | cd ui diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea0307f55f07b076671ad69c7eb8f2b65b954970..ebf1ed0cb99d758c7974615a8b1522e42d8e21b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,17 +19,20 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' + cache: true - name: Set up pnpm uses: pnpm/action-setup@v4 with: version: 9 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '24' + cache: 'pnpm' + cache-dependency-path: ui/pnpm-lock.yaml + - name: Build UI run: | cd ui