Skip to content

Commit

Permalink
ci: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed Jan 15, 2025
1 parent 6362ce3 commit 118c8ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/build-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14]
node-version: [20]
steps:
# 拉取代码
- name: Checkout
Expand All @@ -34,10 +34,10 @@ jobs:
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Install pnpm
run: curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@6
run: npm install -g pnpm@9

- name: Install Dependencies
run: pnpm install --no-frozen-lockfile
run: pnpm install

# 生成静态文件
- name: Build
Expand Down

0 comments on commit 118c8ff

Please sign in to comment.