Skip to content

Commit e779c43

Browse files
committed
Update Node.js version used for development and CI to 16
The previous 10.x version is EOL. 16.x is the newest version in LTS status. LTS seems the most appropriate choice for the needs of this project.
1 parent 2086b35 commit e779c43

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
Follow the installation instructions here:<br />
1010
https://nodejs.dev/download
1111

12+
Node.js 16.x is used for development of this project. [nvm](https://github.com/nvm-sh/nvm) is recommended to easily switch between Node.js versions.
13+
1214
### 2. Install dependencies
1315

1416
To work on the codebase you have to install all the dependencies:

.github/workflows/check-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check npm
22

33
env:
44
# See: https://github.com/actions/setup-node/#readme
5-
NODE_VERSION: 10.x
5+
NODE_VERSION: 16.x
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

.github/workflows/check-packaging-ncc-typescript-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Packaging
22

33
env:
44
# See: https://github.com/actions/setup-node/#readme
5-
NODE_VERSION: 10.x
5+
NODE_VERSION: 16.x
66

77
on:
88
push:

.github/workflows/test.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Test Action
22

3+
env:
4+
# See: https://github.com/actions/setup-node/#readme
5+
NODE_VERSION: 16.x
6+
37
on:
48
push:
59
pull_request:
@@ -24,10 +28,10 @@ jobs:
2428
- name: Checkout
2529
uses: actions/checkout@v2
2630

27-
- name: Set Node.js 10.x
31+
- name: Setup Node.js
2832
uses: actions/setup-node@v2
2933
with:
30-
node-version: 10.x
34+
node-version: ${{ env.NODE_VERSION }}
3135

3236
- name: npm install
3337
run: npm install

0 commit comments

Comments
 (0)