forked from dollarshaveclub/es-check
-
Notifications
You must be signed in to change notification settings - Fork 15
41 lines (37 loc) · 1.16 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
name: update deps
on:
schedule:
- cron: '0 5 * * 1'
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 test
- 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: Update dependencies
title: '[Codependence] update dependencies'
body: |
## Dependency updates
Auto-generated by [codependence][1] using [create-pull-request][2]
[1]: https://github.com/yowainwright/es-check
[2]: https://github.com/peter-evans/create-pull-request
branch: update-dependencies
labels: codependencies