File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : npm update
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : ' 0 0 * * 2' # Every Tuesday at midnight
7
+
8
+ env :
9
+ FORCE_COLOR : 3
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ max-parallel : 4
16
+ matrix :
17
+ node-version : [ 22.x ]
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Use Node.js ${{ matrix.node-version }}
23
+ uses : actions/setup-node@v4
24
+ with :
25
+ node-version : ${{ matrix.node-version }}
26
+ cache : ' npm'
27
+
28
+ - name : Run npm update
29
+ run : |
30
+ npm update
31
+
32
+ - name : Create Pull Request
33
+ uses : peter-evans/create-pull-request@v7
34
+ with :
35
+ token : ' ${{ secrets.GH_PR_PAT }}'
36
+ commit-message : " chore: npm update"
37
+ committer : ' Michel Palourdio <mpalourdio@gmail.com>'
38
+ author : ' Michel Palourdio <mpalourdio@gmail.com>'
39
+ branch : ' npm-update'
40
+ delete-branch : ' true'
41
+ title : ' chore: npm update'
42
+ labels : ' npm update'
43
+ body : ' '
You can’t perform that action at this time.
0 commit comments