Skip to content

Commit f3ca9d3

Browse files
authored
Merge pull request #8 from dhensby/pulls/upgrade-node
feat: upgrade node runtime for gh action
2 parents f3b854a + 2a7411d commit f3ca9d3

File tree

9 files changed

+6886
-10898
lines changed

9 files changed

+6886
-10898
lines changed

.github/dependabot.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
- package-ecosystem: "npm" # See documentation for possible values
13+
directory: "/" # Location of package manifests
14+
schedule:
15+
interval: "weekly"
16+
groups:
17+
release-tools:
18+
patterns:
19+
- "@commitlint/*"
20+
- "semantic-release"
21+
- "@semantic-release/*"
22+
test-tools:
23+
patterns:
24+
- "mocha"
25+
- "nyc"
26+
- "@istanbuljs/nyc-config-typescript"
27+
action-tools:
28+
patterns:
29+
- "@actions/*"

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v3
2424
with:
25-
node-version: 16.x
25+
node-version: 20.x
2626
cache: 'npm'
2727
- name: Install dependencies
2828
run: npm clean-install
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Node.js
4444
uses: actions/setup-node@v3
4545
with:
46-
node-version: 16.x
46+
node-version: 20.x
4747
cache: 'npm'
4848
- name: Install dependencies
4949
run: npm clean-install
@@ -60,7 +60,7 @@ jobs:
6060
- name: Setup Node.js
6161
uses: actions/setup-node@v3
6262
with:
63-
node-version: 16.x
63+
node-version: 20.x
6464
cache: 'npm'
6565
- name: Install dependencies
6666
run: npm clean-install
@@ -83,7 +83,7 @@ jobs:
8383
- name: Setup Node.js
8484
uses: actions/setup-node@v3
8585
with:
86-
node-version: 16.x
86+
node-version: 20.x
8787
cache: 'npm'
8888
- name: Install dependencies
8989
run: npm clean-install
@@ -106,7 +106,7 @@ jobs:
106106
- name: Use Node.js
107107
uses: actions/setup-node@v3
108108
with:
109-
node-version: 16.x
109+
node-version: 20.x
110110
cache: 'npm'
111111
- name: Install deps
112112
run: npm ci

.releaserc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
preset: 'conventionalcommits'
12
plugins:
23
- '@semantic-release/commit-analyzer'
34
- '@semantic-release/release-notes-generator'

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ outputs:
2929
instance-name:
3030
description: 'The instance name for the SQL Server.'
3131
runs:
32-
using: 'node16'
32+
using: 'node20'
3333
main: 'lib/main/index.js'

lib/main/index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)