Skip to content

Commit

Permalink
chore: update workflows (#1849)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca authored Nov 25, 2024
1 parent 93c69fa commit 514c9c7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ jobs:
with:
python-version: '3.10'

- uses: pnpm/action-setup@v2
with:
version: 9

- name: Use Node.js 20
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'

- uses: pnpm/action-setup@v4
with:
version: 9

- name: Install dependencies
run: pnpm install --no-frozen-lockfile

# 发布开始通知
- name: Release start ding talk dev group notify
Expand All @@ -45,9 +47,6 @@ jobs:
}
}
- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,17 @@ jobs:
with:
python-version: '3.10'

- uses: pnpm/action-setup@v2
with:
version: 9

- name: Use Node.js 20
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'

- uses: pnpm/action-setup@v4
with:
version: 9

- name: Install dependencies
run: pnpm install
run: pnpm install --no-frozen-lockfile

- name: Create Release Pull Request
uses: changesets/action@v1
Expand Down

0 comments on commit 514c9c7

Please sign in to comment.