Skip to content

Commit

Permalink
wip: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
apathiaX committed Oct 8, 2024
1 parent 1b9a3c4 commit 6226e90
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,21 @@ jobs:
node-version: [18]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
# 检出代码
- name: Checkout
uses: actions/checkout@v3

# 设置 Node.js 版本
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
node-version: '18'

# 安装 pnpm
- name: Install pnpm
run: |
npm install -g pnpm
- name: Install dependencies
run: pnpm install

Expand Down

0 comments on commit 6226e90

Please sign in to comment.