File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 schedule :
55# Runs at 00:00 on Wednesday
66 - cron : ' 0 0 * * 3'
7+ workflow_dispatch :
78
89jobs :
910 package-update :
1011 runs-on : ubuntu-latest
1112 steps :
1213 - name : Checkout
13- uses : actions/checkout@v3
14- - name : Set remote url
15- run : git remote set-url --push origin https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
16- - name : Update package.json
17- uses : taichi/actions-package-update@master
18- env :
19- AUTHOR_EMAIL : ashikkumar23@gmail.com
20- AUTHOR_NAME : Ashik Kumar
21- EXECUTE : " true"
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23- LOG_LEVEL : debug
24- SET_NODE_VERSION : " 24"
14+ uses : actions/checkout@v4
15+
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v4
2518 with :
26- args : -u --packageFile package.json --loglevel verbose
19+ node-version : ' 24'
20+
21+ - name : Update dependencies
22+ run : |
23+ npm install -g npm-check-updates
24+ ncu -u --packageFile package.json
25+ npm install
26+
27+ - name : Create Pull Request
28+ uses : peter-evans/create-pull-request@v7
29+ with :
30+ token : ${{ secrets.GITHUB_TOKEN }}
31+ commit-message : " chore: update dependencies"
32+ title : " chore: update npm dependencies"
33+ body : |
34+ Automated dependency updates via [npm-check-updates](https://github.com/raineorshine/npm-check-updates).
35+
36+ This PR was created by the [Update Dependencies](../../actions/workflows/package_update.yml) workflow.
37+ branch : " package-update/auto"
38+ author : " Ashik Kumar <ashikkumar23@gmail.com>"
39+ labels : " dependencies"
You can’t perform that action at this time.
0 commit comments