-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (33 loc) · 1.11 KB
/
Copy pathpackage_update.yml
File metadata and controls
39 lines (33 loc) · 1.11 KB
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
name: Update Dependencies
on:
schedule:
# Runs at 00:00 on Wednesday
- cron: '0 0 * * 3'
workflow_dispatch:
jobs:
package-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Update dependencies
run: |
npm install -g npm-check-updates
ncu -u --packageFile package.json
npm install
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update dependencies"
title: "chore: update npm dependencies"
body: |
Automated dependency updates via [npm-check-updates](https://github.com/raineorshine/npm-check-updates).
This PR was created by the [Update Dependencies](../../actions/workflows/package_update.yml) workflow.
branch: "package-update/auto"
author: "Ashik Kumar <ashikkumar23@gmail.com>"
labels: "dependencies"