Skip to content

Commit bad191f

Browse files
committed
fix build
1 parent 060b6eb commit bad191f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/node-prerelease.js.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
required: true
88
push:
99
tags: ["v*"]
10+
workflow_dispatch:
1011

1112
jobs:
1213
release:
@@ -22,7 +23,7 @@ jobs:
2223
- uses: pnpm/action-setup@v2
2324
name: Install pnpm
2425
with:
25-
version: 9.12.2
26+
version: 8.6
2627
run_install: false
2728

2829
- name: "使用 Use Node.js ${{ matrix.node-version }}"
@@ -68,7 +69,7 @@ jobs:
6869
run: |
6970
pnpm install
7071
env:
71-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
72+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
7273

7374
- run: pnpm build
7475
- run: |

0 commit comments

Comments
 (0)