Skip to content

Commit b81aeb9

Browse files
authored
ci: update node and action versions (#182)
1 parent 1390b99 commit b81aeb9

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
auto-merge:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- uses: ahmadnassri/action-dependabot-auto-merge@v2
1212
with:
1313
target: minor

.github/workflows/commitlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
commitlint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
99
with:
1010
fetch-depth: 0
1111
- uses: wagoid/commitlint-github-action@v4

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313

14-
- name: Use Node.js 18
15-
uses: actions/setup-node@v1
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version-file: .nvmrc
1818

1919
- run: npm ci
2020

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id-token: write # to enable use of OIDC for npm provenance
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
- name: Import scriptbot's GPG key for signing commits
@@ -35,9 +35,9 @@ jobs:
3535
git_user_signingkey: true
3636
git_commit_gpgsign: true
3737
- name: Setup Node.js
38-
uses: actions/setup-node@v3
38+
uses: actions/setup-node@v4
3939
with:
40-
node-version: "lts/*"
40+
node-version-file: .nvmrc
4141
- name: Install dependencies
4242
run: npm clean-install
4343
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
matrix:
1313
# If you change these, don't forget to update carryforward in the finish
1414
# step as well.
15-
node-version: [14, 16, 18]
15+
node-version: [14, 16, 18, 20]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424

@@ -43,4 +43,4 @@ jobs:
4343
with:
4444
github-token: ${{ secrets.GITHUB_TOKEN }}
4545
parallel-finished: true
46-
carryforward: "14,16,18"
46+
carryforward: "14,16,18,20"

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.12
1+
v20.11

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and there are no external dependencies 😉
1414

1515
## Installation
1616

17-
sql-highlight is tested to work with Node.js 14, 16 and 18.
17+
sql-highlight is tested to work with Node.js 16, 18 and 20.
1818

1919
Install with Yarn:
2020
```bash

0 commit comments

Comments
 (0)