Skip to content

Commit 5b907f2

Browse files
committed
chore: fix update_dep(s)
1 parent 861cba6 commit 5b907f2

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/update_dep.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ jobs:
1717
with:
1818
ref: dev
1919
token: ${{ secrets.GH_TOKEN }}
20+
- uses: pnpm/action-setup@v4
21+
with:
22+
version: 9
2023
- uses: actions/setup-node@v4
2124
with:
2225
node-version: 20
23-
cache: npm
24-
- run: npm install ${{ github.event.client_payload.package }}@${{ github.event.client_payload.version }} --save-exact
26+
cache: pnpm
27+
- run: pnpm install ${{ github.event.client_payload.package }}@${{ github.event.client_payload.version }} --save-exact
2528
- uses: peter-evans/create-pull-request@v7
2629
id: cpr
2730
with:

.github/workflows/update_deps.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ jobs:
1818
with:
1919
ref: dev
2020
token: ${{ secrets.GH_TOKEN }}
21+
- uses: pnpm/action-setup@v4
22+
with:
23+
version: 9
2124
- uses: actions/setup-node@v4
2225
with:
2326
node-version: 20
24-
cache: npm
25-
# [email protected] requires Node 20 >=
26-
- run: npx npm-check-updates -u -x connect-gzip-static
27-
- run: rm -f package-lock.json
28-
- run: npm install
27+
cache: pnpm
28+
- run: |
29+
pnpm up --latest
2930
- uses: peter-evans/create-pull-request@v7
3031
with:
3132
commit-message: 'fix(ignore): update dependencies'
3233
branch: 'deps/all'
33-
title: Update dependencies
34+
title: 'fix(ignore): update dependencies'
3435
token: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)