Skip to content

Commit eac38c6

Browse files
committed
ci: use package_json_file instead of version in pnpm actions
1 parent 3843897 commit eac38c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
# pnpm
2323
- uses: pnpm/action-setup@v4
2424
with:
25+
package_json_file: ./2025/package.json
2526
run_install: false
26-
version: 10.4.0
2727
- name: build 2025
2828
working-directory: ./2025
2929
run: |

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
uses: actions/checkout@v4
1616
- uses: pnpm/action-setup@v4
1717
with:
18+
package_json_file: ./2025/package.json
1819
run_install: false
19-
version: 10.4.0
2020
- run: pnpm install --frozen-lockfile
2121
- run: pnpm check
2222
- run: pnpm prettier:check

0 commit comments

Comments
 (0)