Skip to content

Commit 46cc1e3

Browse files
committed
Fix generated workflow pnpm setup
1 parent 1ef4658 commit 46cc1e3

4 files changed

Lines changed: 12 additions & 57 deletions

File tree

.async-pipeline/tasks.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,5 @@
151151
}
152152
],
153153
"hash": "sha256:c2d70ec25fe853ee6298fb23cbd572af27ad48550bc9c5c83a513a91c15ac480",
154-
"generatedAt": "2026-06-17T06:15:35.354Z"
154+
"generatedAt": "2026-06-17T06:22:20.814Z"
155155
}

.github/async-pipeline.lock.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"generator": "@async/pipeline",
44
"config": "pipeline.ts",
55
"workflow": ".github/workflows/async-pipeline.yml",
6-
"hash": "sha256:6c4bce1a6680cce7f3447ea914e1a31894f406e64707f39ae7e7a205b5285d5f",
7-
"generatedAt": "2026-06-17T06:15:35.351Z",
6+
"hash": "sha256:70d008b87947815aabe59f369f5abbdca999b6d8dfad61bfc3d59420edcf7a2d",
7+
"generatedAt": "2026-06-17T06:22:20.812Z",
88
"triggers": {
99
"pull_request": {},
1010
"push": {
@@ -135,9 +135,8 @@
135135
"packageManagerVersion": "10.20.0",
136136
"setup": "node",
137137
"nodeVersion": "24",
138-
"taskCache": true,
139-
"dependencyCache": true,
140-
"dependencyCachePath": "pnpm-lock.yaml",
138+
"taskCache": false,
139+
"dependencyCache": false,
141140
"dependabotAutoMerge": {
142141
"enabled": false,
143142
"ecosystems": [

.github/workflows/async-pipeline.yml

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,12 @@ jobs:
3636
- name: Checkout
3737
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3838

39-
- name: Restore task cache
40-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
41-
with:
42-
path: .async/cache
43-
key: async-pipeline-${{ runner.os }}-${{ github.sha }}
44-
restore-keys: |
45-
async-pipeline-${{ runner.os }}-
46-
4739
- name: Setup Node
4840
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
4941
with:
5042
node-version: 24
5143
registry-url: https://registry.npmjs.org/
52-
cache: "pnpm"
53-
cache-dependency-path: "pnpm-lock.yaml"
44+
package-manager-cache: false
5445

5546
- name: Enable pnpm
5647
run: |
@@ -96,21 +87,12 @@ jobs:
9687
- name: Checkout
9788
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9889

99-
- name: Restore task cache
100-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
101-
with:
102-
path: .async/cache
103-
key: async-pipeline-${{ runner.os }}-${{ github.sha }}
104-
restore-keys: |
105-
async-pipeline-${{ runner.os }}-
106-
10790
- name: Setup Node
10891
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
10992
with:
11093
node-version: 24
11194
registry-url: https://registry.npmjs.org/
112-
cache: "pnpm"
113-
cache-dependency-path: "pnpm-lock.yaml"
95+
package-manager-cache: false
11496

11597
- name: Enable pnpm
11698
run: |
@@ -156,21 +138,12 @@ jobs:
156138
- name: Checkout
157139
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158140

159-
- name: Restore task cache
160-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
161-
with:
162-
path: .async/cache
163-
key: async-pipeline-${{ runner.os }}-${{ github.sha }}
164-
restore-keys: |
165-
async-pipeline-${{ runner.os }}-
166-
167141
- name: Setup Node
168142
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
169143
with:
170144
node-version: 24
171145
registry-url: https://registry.npmjs.org/
172-
cache: "pnpm"
173-
cache-dependency-path: "pnpm-lock.yaml"
146+
package-manager-cache: false
174147

175148
- name: Enable pnpm
176149
run: |
@@ -212,21 +185,12 @@ jobs:
212185
- name: Checkout
213186
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
214187

215-
- name: Restore task cache
216-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
217-
with:
218-
path: .async/cache
219-
key: async-pipeline-${{ runner.os }}-${{ github.sha }}
220-
restore-keys: |
221-
async-pipeline-${{ runner.os }}-
222-
223188
- name: Setup Node
224189
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
225190
with:
226191
node-version: 24
227192
registry-url: https://registry.npmjs.org/
228-
cache: "pnpm"
229-
cache-dependency-path: "pnpm-lock.yaml"
193+
package-manager-cache: false
230194

231195
- name: Enable pnpm
232196
run: |
@@ -265,21 +229,12 @@ jobs:
265229
- name: Checkout
266230
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
267231

268-
- name: Restore task cache
269-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
270-
with:
271-
path: .async/cache
272-
key: async-pipeline-${{ runner.os }}-${{ github.sha }}
273-
restore-keys: |
274-
async-pipeline-${{ runner.os }}-
275-
276232
- name: Setup Node
277233
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
278234
with:
279235
node-version: 24
280236
registry-url: https://registry.npmjs.org/
281-
cache: "pnpm"
282-
cache-dependency-path: "pnpm-lock.yaml"
237+
package-manager-cache: false
283238

284239
- name: Enable pnpm
285240
run: |

pipeline.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export default definePipeline({
1212
sync: {
1313
github: {
1414
nodeVersion: 24,
15-
cache: true
15+
cache: false,
16+
dependencyCache: false
1617
},
1718
tasks: {
1819
prefix: "pipeline",

0 commit comments

Comments
 (0)