Skip to content

Commit 966474b

Browse files
committed
ci: fix release
1 parent f667ab5 commit 966474b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,21 @@ jobs:
1212
steps:
1313
# Use github actions default to checkout corresponding branch
1414
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
1517

1618
# Use github actions to install node at least 14 version
17-
- name: Setup node
18-
uses: actions/setup-node@v2
19+
- name: Set node version to 20
20+
uses: actions/setup-node@v4
1921
with:
20-
node-version: '14'
22+
node-version: 20
2123
registry-url: 'https://registry.npmjs.org'
2224

2325
# Use github actions to install pnpm at least 6 version
2426
- name: Install pnpm
25-
uses: pnpm/action-setup@v2
27+
uses: pnpm/action-setup@v4
2628
with:
27-
version: 6
29+
version: 9
2830

2931
# Install dependencies
3032
- name: Install dependencies

0 commit comments

Comments
 (0)