From b72413d7d28841d73af209c32b6a4bc7f9f41b3e Mon Sep 17 00:00:00 2001 From: Daniel Villanueva Date: Thu, 12 Sep 2024 16:33:39 +0200 Subject: [PATCH] chore: add cache-dependency-path to e2e-main.yaml (#1706) * chore: add cache-dependy-path to fix workflow error Signed-off-by: Daniel Villanueva * chore: try new cache-dependency-path Signed-off-by: Daniel Villanueva * chore: a different cache-dependency-path Signed-off-by: Daniel Villanueva * chore: fixed cache-dependency-path finally Signed-off-by: Daniel Villanueva * chore: delete redundant pnpm installations Signed-off-by: Daniel Villanueva * chore: recover not redundant pnpm installation... Signed-off-by: Daniel Villanueva --------- Signed-off-by: Daniel Villanueva --- .github/workflows/e2e-main.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-main.yaml b/.github/workflows/e2e-main.yaml index 0ee203240..09c0a47bb 100644 --- a/.github/workflows/e2e-main.yaml +++ b/.github/workflows/e2e-main.yaml @@ -73,6 +73,9 @@ jobs: with: node-version: 20 cache: 'pnpm' + cache-dependency-path: | + ./podman-desktop + ./podman-desktop-extension-ai-lab - name: Update podman run: | @@ -97,12 +100,6 @@ jobs: # allow unprivileged user namespace sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - run_install: false - package_json_file: ./podman-desktop/package.json - - name: Execute pnpm working-directory: ./podman-desktop run: pnpm install --frozen-lockfile