File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 3131 with :
3232 version : 9
3333
34+ - name : Configure Git Merge Driver for pnpm-lock.yaml
35+ run : |
36+ # Configure custom merge driver for pnpm-lock.yaml
37+ git config merge.pnpm-merge.name "pnpm-lock.yaml merge driver"
38+ git config merge.pnpm-merge.driver \
39+ "pnpm install --no-frozen-lockfile && \
40+ test -f pnpm-lock.yaml && cp pnpm-lock.yaml %A || exit 1"
41+
42+ # Apply merge driver (CI-only, doesn't affect repository)
43+ echo "pnpm-lock.yaml merge=pnpm-merge" >> .git/info/attributes
44+
3445 - name : Setup Node
3546 uses : actions/setup-node@v4
3647 with :
Original file line number Diff line number Diff line change 2121 with :
2222 version : 9
2323
24+ - name : Configure Git Merge Driver for pnpm-lock.yaml
25+ run : |
26+ # Configure custom merge driver for pnpm-lock.yaml
27+ git config merge.pnpm-merge.name "pnpm-lock.yaml merge driver"
28+ git config merge.pnpm-merge.driver \
29+ "pnpm install --no-frozen-lockfile && \
30+ test -f pnpm-lock.yaml && cp pnpm-lock.yaml %A || exit 1"
31+
32+ # Apply merge driver (CI-only, doesn't affect repository)
33+ echo "pnpm-lock.yaml merge=pnpm-merge" >> .git/info/attributes
34+
2435 - name : Setup Node.js 20.x
2536 uses : actions/setup-node@v4
2637 with :
Original file line number Diff line number Diff line change 1919 with :
2020 version : 9
2121
22+ - name : Configure Git Merge Driver for pnpm-lock.yaml
23+ run : |
24+ # Configure custom merge driver for pnpm-lock.yaml
25+ git config merge.pnpm-merge.name "pnpm-lock.yaml merge driver"
26+ git config merge.pnpm-merge.driver \
27+ "pnpm install --no-frozen-lockfile && \
28+ test -f pnpm-lock.yaml && cp pnpm-lock.yaml %A || exit 1"
29+
30+ # Apply merge driver (CI-only, doesn't affect repository)
31+ echo "pnpm-lock.yaml merge=pnpm-merge" >> .git/info/attributes
32+
2233 - name : Setup Node.js 20.x
2334 uses : actions/setup-node@v4
2435 with :
You can’t perform that action at this time.
0 commit comments