Skip to content

Commit 536d042

Browse files
authored
ci(NODE-6038): upgrade gha actions and add dependabot (#7)
1 parent 55e7efd commit 536d042

File tree

4 files changed

+39
-7
lines changed

4 files changed

+39
-7
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"

.github/pull_request_template.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### Description
2+
3+
#### What is changing?
4+
5+
##### Is there new documentation needed for these changes?
6+
7+
#### What is the motivation for this change?
8+
9+
<!-- If this is a bug, it helps to describe the current behavior and a clear outline of the expected behavior -->
10+
<!-- If this is a feature, it helps to describe the new use case enabled by this change -->
11+
12+
<!--
13+
Contributors!
14+
First of all, thank you so much!!
15+
If you haven't already, it would greatly help the team review this work in a timely manner if you create a JIRA ticket to track this PR.
16+
You can do that here: https://jira.mongodb.org/projects/NODE
17+
-->
18+
19+
### Double check the following
20+
21+
- [ ] Ran `npm run check:eslint` script
22+
- [ ] Self-review completed using the [steps outlined here](https://github.com/mongodb/node-mongodb-native/blob/HEAD/CONTRIBUTING.md#reviewer-guidelines)
23+
- [ ] PR title follows the [correct format](https://www.conventionalcommits.org/en/v1.0.0/): `type(NODE-xxxx)[!]: description`
24+
- Example: `feat(NODE-1234)!: rewriting everything in coffeescript`
25+
- [ ] Changes are covered by tests
26+
- [ ] New TODOs have a related JIRA ticket

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
cache: 'npm'
31-
- name: npm install
32-
run: npm install
31+
- name: npm install
32+
run: npm install
3333
- name: check lint
3434
run: npm run check:eslint

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Use Node.js ${{ matrix.node-version }}
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
cache: 'npm'
3030
- name: install npm 9
3131
run: npm install -g npm@9
32-
- name: npm install
32+
- name: npm install
3333
run: npm install
3434
- name: npm install workspaces
3535
run: npm install --workspaces

0 commit comments

Comments
 (0)