Skip to content

Commit 113f781

Browse files
committed
Bump Node.js from 14 to 18
Use latest long term support (LTS) version of Node.js for tests and publishing. Also use the new version 2 lockfile format for current versions of npm.
1 parent f670bf5 commit 113f781

File tree

4 files changed

+2710
-10
lines changed

4 files changed

+2710
-10
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
steps:
4747
- uses: actions/checkout@v2
4848

49-
- uses: actions/setup-node@v2
49+
- uses: actions/setup-node@v3
5050
with:
51+
node-version-file: '.nvmrc'
5152
cache: 'npm'
52-
node-version: '14'
5353

5454
- uses: ruby/setup-ruby@v1
5555
with:

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212

13-
- uses: actions/setup-node@v2
13+
- uses: actions/setup-node@v3
1414
with:
15-
node-version: '14'
15+
node-version-file: '.nvmrc'
1616
cache: 'npm'
1717

1818
- uses: ruby/setup-ruby@v1

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14
1+
18

0 commit comments

Comments
 (0)