Skip to content

Commit

Permalink
chore: 修复pnpm未安装
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnotech committed Oct 27, 2024
1 parent a45508b commit 1d6ccbe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,29 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2

- uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Install dependencies
run: npm i pnpm@9 --global && pnpm install

- name: Run build
run: npm run rs:release

- name: Generate a changelog
uses: orhun/git-cliff-action@v4
id: git-cliff
with:
config: cliff.toml
args: -s all --current

- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

# 安装依赖
- name: Install dependencies
run: npm i pnpm@8 --global && pnpm install
run: npm i pnpm@9 --global && pnpm install

# 构建 Wiki
- name: Run scripts
Expand Down

0 comments on commit 1d6ccbe

Please sign in to comment.