-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (37 loc) · 1.19 KB
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: update codependencies
on:
schedule:
- cron: '0 5 * * 2'
jobs:
udpate-deps:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install --no-frozen-lockfile
- run: pnpm build
- run: pnpm run update
- run: pnpm install --no-frozen-lockfile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PR_CREATE_TOKEN }}
commit-message: 'chore: update dependencies'
title: '[Codependence] update dependencies'
body: |
## Dependency updates
Auto-generated by [codependence][1] using [create-pull-request][2]
[1]: https://github.com/yowainwright/common-utilities
[2]: https://github.com/peter-evans/create-pull-request
branch: update-dependencies
labels: codependencies