Skip to content

Commit a501352

Browse files
committed
ci(deps): fix workflow order - install dependencies before syncpack
syncpack requires node_modules to be installed to work properly. Was running syncpack before pnpm install causing ELIFECYCLE errors.
1 parent 6b46a63 commit a501352

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dependabot-lockfile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
node-version: 20
4040
cache: pnpm
4141

42+
- name: Install dependencies
43+
run: pnpm install --no-frozen-lockfile
44+
4245
- name: Format package.json files with syncpack
4346
run: pnpm syncpack format
4447

45-
- name: Regenerate lockfile
46-
run: pnpm install --no-frozen-lockfile
47-
4848
- name: Check for changes
4949
id: changes
5050
run: |

0 commit comments

Comments
 (0)