chore: remove volta use setup-node

This commit is contained in:
lisonge
2023-09-22 20:51:33 +08:00
parent 35530f9fe8
commit 1b350d7f18
2 changed files with 4 additions and 14 deletions

View File

@@ -19,14 +19,9 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: volta-cli/action@v3 - uses: actions/setup-node@v3
- name: download node
uses: nick-fields/retry@v2
with: with:
timeout_minutes: 3 node-version: 20
max_attempts: 3
command: node -v
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2

View File

@@ -14,14 +14,9 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: volta-cli/action@v3 - uses: actions/setup-node@v3
- name: download node
uses: nick-fields/retry@v2
with: with:
timeout_minutes: 3 node-version: 20
max_attempts: 3
command: node -v
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2