build: github workflows 安装node失败

This commit is contained in:
roymondchen 2025-04-24 14:07:30 +08:00
parent de52ff4fe1
commit 0987901a46

View File

@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
ref: dev ref: dev
- name: Install pnpm - name: Install pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v4
- name: Set node version to 18 - name: Set node version to 18
uses: actions/setup-node@v2 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
cache: 'pnpm' cache: 'pnpm'