fix workflows: replace yarn to pnpm

This commit is contained in:
Gabe Yuan
2023-09-21 16:58:49 +08:00
parent a2f99da3b4
commit 471a4a3159

View File

@@ -10,12 +10,15 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.7.6
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: "18.17.0" node-version: "18.17.0"
cache: "yarn" cache: "pnpm"
- run: yarn install - run: pnpm install
- run: yarn build - run: pnpm build
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: build-artifacts name: build-artifacts