Skip to content

Commit b5ff82b

Browse files
committed
ci: Disable PNPM cache on Windows
Disabling the PNPM cache resolves an issue where pnpm install is being run inside WSL, causing the action to fail due to missing path. See: angular/dev-infra#2998
1 parent aa5117b commit b5ff82b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ jobs:
111111
steps:
112112
- name: Initialize environment
113113
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@029d16b075db696b35d0d661d0fd3a0552a4b452
114+
with:
115+
disable-package-manager-cache: true
114116
- name: Setup Bazel
115117
uses: angular/dev-infra/github-actions/bazel/setup@029d16b075db696b35d0d661d0fd3a0552a4b452
116118
- name: Setup Bazel RBE

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ jobs:
133133
steps:
134134
- name: Initialize environment
135135
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@029d16b075db696b35d0d661d0fd3a0552a4b452
136+
with:
137+
disable-package-manager-cache: true
136138
- name: Setup Bazel
137139
uses: angular/dev-infra/github-actions/bazel/setup@029d16b075db696b35d0d661d0fd3a0552a4b452
138140
- name: Setup Bazel RBE

0 commit comments

Comments
 (0)