Skip to content

Commit 678b7ee

Browse files
authored
Merge pull request #42 from per1234/update-node
Update Node.js version used for development and CI to 16
2 parents 2086b35 + 9656feb commit 678b7ee

File tree

6 files changed

+16881
-18
lines changed

6 files changed

+16881
-18
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)