Skip to content

Commit 60e9ea4

Browse files
Backport of [CI] run pnpm install before node setup into release/1.22.x (#23007)
backport of commit 39d32cc Co-authored-by: suresh-hashicorp <[email protected]>
1 parent 455548c commit 60e9ea4

File tree

2 files changed

+54
-54
lines changed

2 files changed

+54
-54
lines changed

.github/workflows/nightly-test-1.20.x.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ jobs:
6767
with:
6868
ref: ${{ env.BRANCH }}
6969

70+
- name: Install PNPM
71+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
72+
with:
73+
run_install: false
74+
package_json_file: ui/package.json
75+
7076
- name: Setup node and pnpm cache
7177
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
7278
with:
7379
node-version-file: "./ui/package.json"
7480
cache: "pnpm"
7581
cache-dependency-path: "ui/pnpm-lock.yaml"
7682

77-
- name: Install PNPM
78-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
79-
with:
80-
run_install: false
81-
package_json_file: ui/package.json
82-
8383
- name: Install
8484
id: install
8585
working-directory: ./ui
@@ -112,19 +112,19 @@ jobs:
112112
with:
113113
ref: ${{ env.BRANCH }}
114114

115+
- name: Install PNPM
116+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
117+
with:
118+
run_install: false
119+
package_json_file: ui/package.json
120+
115121
- name: Setup node and pnpm cache
116122
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
117123
with:
118124
node-version-file: "./ui/package.json"
119125
cache: "pnpm"
120126
cache-dependency-path: "ui/pnpm-lock.yaml"
121127

122-
- name: Install PNPM
123-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
124-
with:
125-
run_install: false
126-
package_json_file: ui/package.json
127-
128128
- name: Install
129129
id: install
130130
working-directory: ./ui
@@ -152,19 +152,19 @@ jobs:
152152
with:
153153
ref: ${{ env.BRANCH }}
154154

155+
- name: Install PNPM
156+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
157+
with:
158+
run_install: false
159+
package_json_file: ui/package.json
160+
155161
- name: Setup node and pnpm cache
156162
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
157163
with:
158164
node-version-file: "./ui/package.json"
159165
cache: "pnpm"
160166
cache-dependency-path: "ui/pnpm-lock.yaml"
161167

162-
- name: Install PNPM
163-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
164-
with:
165-
run_install: false
166-
package_json_file: ui/package.json
167-
168168
- name: Install
169169
id: install
170170
working-directory: ./ui
@@ -197,19 +197,19 @@ jobs:
197197
with:
198198
ref: ${{ env.BRANCH }}
199199

200+
- name: Install PNPM
201+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
202+
with:
203+
run_install: false
204+
package_json_file: ui/package.json
205+
200206
- name: Setup node and pnpm cache
201207
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
202208
with:
203209
node-version-file: "./ui/package.json"
204210
cache: "pnpm"
205211
cache-dependency-path: "ui/pnpm-lock.yaml"
206212

207-
- name: Install PNPM
208-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
209-
with:
210-
run_install: false
211-
package_json_file: ui/package.json
212-
213213
- name: Install
214214
id: install
215215
working-directory: ./ui

.github/workflows/nightly-test-1.21.x.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ jobs:
6767
with:
6868
ref: ${{ env.BRANCH }}
6969

70+
- name: Install PNPM
71+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
72+
with:
73+
run_install: false
74+
package_json_file: ui/package.json
75+
7076
- name: Setup node and pnpm cache
7177
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
7278
with:
7379
node-version-file: "./ui/package.json"
7480
cache: "pnpm"
7581
cache-dependency-path: "ui/pnpm-lock.yaml"
7682

77-
- name: Install PNPM
78-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
79-
with:
80-
run_install: false
81-
package_json_file: ui/package.json
82-
8383
- name: Install
8484
id: install
8585
working-directory: ./ui
@@ -112,19 +112,19 @@ jobs:
112112
with:
113113
ref: ${{ env.BRANCH }}
114114

115+
- name: Install PNPM
116+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
117+
with:
118+
run_install: false
119+
package_json_file: ui/package.json
120+
115121
- name: Setup node and pnpm cache
116122
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
117123
with:
118124
node-version-file: "./ui/package.json"
119125
cache: "pnpm"
120126
cache-dependency-path: "ui/pnpm-lock.yaml"
121127

122-
- name: Install PNPM
123-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
124-
with:
125-
run_install: false
126-
package_json_file: ui/package.json
127-
128128
- name: Install
129129
id: install
130130
working-directory: ./ui
@@ -152,19 +152,19 @@ jobs:
152152
with:
153153
ref: ${{ env.BRANCH }}
154154

155+
- name: Install PNPM
156+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
157+
with:
158+
run_install: false
159+
package_json_file: ui/package.json
160+
155161
- name: Setup node and pnpm cache
156162
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
157163
with:
158164
node-version-file: "./ui/package.json"
159165
cache: "pnpm"
160166
cache-dependency-path: "ui/pnpm-lock.yaml"
161167

162-
- name: Install PNPM
163-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
164-
with:
165-
run_install: false
166-
package_json_file: ui/package.json
167-
168168
- name: Install
169169
id: install
170170
working-directory: ./ui
@@ -197,19 +197,19 @@ jobs:
197197
with:
198198
ref: ${{ env.BRANCH }}
199199

200+
- name: Install PNPM
201+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
202+
with:
203+
run_install: false
204+
package_json_file: ui/package.json
205+
200206
- name: Setup node and pnpm cache
201207
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
202208
with:
203209
node-version-file: "./ui/package.json"
204210
cache: "pnpm"
205211
cache-dependency-path: "ui/pnpm-lock.yaml"
206212

207-
- name: Install PNPM
208-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
209-
with:
210-
run_install: false
211-
package_json_file: ui/package.json
212-
213213
- name: Install
214214
id: install
215215
working-directory: ./ui
@@ -234,19 +234,19 @@ jobs:
234234
with:
235235
ref: ${{ env.BRANCH }}
236236

237+
- name: Install PNPM
238+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
239+
with:
240+
run_install: false
241+
package_json_file: ui/package.json
242+
237243
- name: Setup node and pnpm cache
238244
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
239245
with:
240246
node-version-file: "./ui/package.json"
241247
cache: "pnpm"
242248
cache-dependency-path: "ui/pnpm-lock.yaml"
243249

244-
- name: Install PNPM
245-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
246-
with:
247-
run_install: false
248-
package_json_file: ui/package.json
249-
250250
- name: Install
251251
id: install
252252
working-directory: ./ui

0 commit comments

Comments
 (0)