File tree Expand file tree Collapse file tree 3 files changed +77
-29
lines changed
Expand file tree Collapse file tree 3 files changed +77
-29
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : npm
4+ directory : ' /'
5+ schedule :
6+ interval : ' weekly'
7+ day : ' thursday'
8+ target-branch : ' master'
9+ open-pull-requests-limit : 3
10+ versioning-strategy : increase
11+ commit-message :
12+ prefix : ' chore'
13+ include : ' scope'
14+ groups :
15+ major-updates :
16+ update-types : ['major']
17+ minor-updates :
18+ update-types : ['minor']
19+ patch-updates :
20+ update-types : ['patch']
21+
22+ - package-ecosystem : ' github-actions'
23+ directory : ' /'
24+ schedule :
25+ interval : ' monthly'
26+ target-branch : ' master'
27+ open-pull-requests-limit : 3
28+ commit-message :
29+ prefix : ' chore'
30+ include : ' scope'
Original file line number Diff line number Diff line change 1+ name : Node.js CI
2+
3+ on :
4+ push :
5+ branches : ['master']
6+ pull_request :
7+ branches : ['master']
8+
9+ permissions :
10+ contents : read
11+ pull-requests : write
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ node-version : [22.x]
19+ steps :
20+ - uses : actions/checkout@v5
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ cache : ' npm'
26+ - run : npm install
27+ - run : npm run lint-check
28+ - run : npm run test
29+
30+ dependabot-automerge :
31+ needs : [build]
32+ if : >
33+ github.event_name == 'pull_request' &&
34+ github.event.pull_request.user.login == 'dependabot[bot]'
35+ runs-on : ubuntu-latest
36+ permissions :
37+ contents : write
38+ pull-requests : write
39+ steps :
40+ - name : Checkout
41+ uses : actions/checkout@v5
42+ - name : Automerge Dependabot PRs if all checks have passed
43+ shell : bash
44+ env :
45+ GH_TOKEN : ${{ github.token }}
46+ run : |
47+ gh pr merge --squash ${{ github.event.pull_request.number }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments