Skip to content

Commit

Permalink
chore: update cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnotech committed May 5, 2024
1 parent 966dcc3 commit a67e43f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ jobs:
submodules: recursive
ref: ${{ github.ref }}

# 缓存yarn
# 缓存依赖
- uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }}

# 安装依赖
- name: Install dependencies
run: yarn
run: pnpm install

# 构建 Wiki
- name: Run scripts
run: yarn build
run: pnpm build

# 部署 Wiki
- name: Setup Pages
Expand Down

0 comments on commit a67e43f

Please sign in to comment.