Skip to content

Commit

Permalink
chore(ci): 切换到pnpm
Browse files Browse the repository at this point in the history
Signed-off-by: joshua <[email protected]>
  • Loading branch information
sujoshua committed Nov 17, 2024
1 parent 9335b1b commit 51cc1c7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5,035 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ jobs:

steps:
- uses: actions/checkout@v4

# 编译
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- run: |
npm install -g pnpm
pnpm install
pnpm build
tar caf dist.tar.xz dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
uses: actions/checkout@v4

# 测试编译
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- run: |
npm install -g pnpm
pnpm install
pnpm build
tar caf dist.tar.xz dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- uses: actions/checkout@v4

# 编译
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- run: |
npm install -g pnpm
pnpm install
pnpm build
tar caf dist.tar.xz dist
Expand Down
Loading

0 comments on commit 51cc1c7

Please sign in to comment.