-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (36 loc) · 1.06 KB
/
dependencies-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
44
45
46
name: Dependencies Update
on:
schedule:
- cron: "59 5 * * *"
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout the head commit of the branch
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Use node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Installing dependencies
run: pnpm i
- name: Updating dependencies
run: pnpm exec npm-check-updates -u --target minor
- name: Dependencies audit
run: pnpm audit --fix
- name: Installing dependencies
run: pnpm i
- name: Run command
uses: ctux/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch_main_name: "'develop'"
branch_pr_name: "'dependencies-update'"
commit_message: "'chore(dependencies): automatic updates'"