-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 1014 Bytes
/
node.yaml
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
name: Node.js
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch: {}
jobs:
dependency-upgrades:
name: Dependency Upgrades
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: npm
- run: npx npm-check-updates -u
- run: rm -rf node_modules package-lock.json
- run: npm install
- uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.BOT_PAT }}
add-paths: |
package.json
package-lock.json
commit-message: Bump npm dependencies
author: Noice Bot <[email protected]>
committer: Noice Bot <[email protected]>
delete-branch: true
branch: dependency-upgrades
branch-suffix: timestamp
title: Bump npm dependencies
body: ""
labels: dependencies