Skip to content

Commit 207eb8a

Browse files
committed
Remove PNPM_VERSION environment variable and related setup in workflows and documentation
Signed-off-by: Innei <tukon479@gmail.com>
1 parent 2da015e commit 207eb8a

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
env:
19-
PNPM_VERSION: 9.x.x
2019
HASH_FILE: build_hash
2120

2221
jobs:
@@ -90,8 +89,7 @@ jobs:
9089
- name: Checkout LFS objects
9190
run: git lfs checkout
9291
- uses: pnpm/action-setup@v2
93-
with:
94-
version: ${{ env.PNPM_VERSION }}
92+
9593
- name: Use Node.js ${{ matrix.node-version }}
9694
uses: actions/setup-node@v4
9795
with:

post.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ jobs:
5858
- name: Checkout LFS objects
5959
run: git lfs checkout
6060
- uses: pnpm/action-setup@v2
61-
with:
62-
version: ${{ env.PNPM_VERSION }}
6361
- name: Use Node.js ${{ matrix.node-version }}
6462
uses: actions/setup-node@v4
6563
with:
@@ -304,7 +302,7 @@ fi
304302
上面的脚本由 GPT-4 编写,经过测试可用。
305303

306304
```sh
307-
~/shiro$ bash rollback.sh
305+
~/shiro$ bash rollback.sh
308306
请选择一个文件夹进行操作:
309307
1) 56
310308
2) 53
@@ -427,7 +425,6 @@ on:
427425
permissions: write-all
428426
429427
env:
430-
PNPM_VERSION: 9.x.x
431428
HASH_FILE: build_hash
432429
433430
jobs:

story.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ jobs:
5858
- name: Checkout LFS objects
5959
run: git lfs checkout
6060
- uses: pnpm/action-setup@v2
61-
with:
62-
version: ${{ env.PNPM_VERSION }}
6361
- name: Use Node.js ${{ matrix.node-version }}
6462
uses: actions/setup-node@v4
6563
with:
@@ -304,7 +302,7 @@ on:
304302
permissions: write-all
305303
306304
env:
307-
PNPM_VERSION: 9.x.x
305+
308306
HASH_FILE: build_hash
309307
310308
jobs:

0 commit comments

Comments
 (0)