Skip to content

Commit 9a9a5d4

Browse files
authored
Update supported Node.js versions
* Drop Node.js 15 support * Require at least Node.js 12.22 * Test package-lock modifications with [email protected] * Upgrade to tap@15 for Node.js 16 compatibility * Add Node.js 16 support
1 parent 97525a9 commit 9a9a5d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2128
-3061
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
node-version: [^12.20, ^14.15, ^15]
18+
node-version: [^12.22, ^14.15, ^16]
1919
os: [ubuntu-latest, windows-latest]
2020
steps:
2121
- uses: actions/checkout@v2
@@ -50,7 +50,7 @@ jobs:
5050
fetch-depth: 1
5151
- uses: actions/setup-node@v2
5252
with:
53-
node-version: ^12.20
53+
node-version: ^12.22
5454
- name: Upgrade npm
5555
run: npm install --global npm@7
5656
- run: npm ci --no-audit
@@ -69,9 +69,9 @@ jobs:
6969
fetch-depth: 1
7070
- uses: actions/setup-node@v2
7171
with:
72-
node-version: ^12.20
72+
node-version: ^12.22
7373
- name: Upgrade npm
74-
run: if [[ "$(npm -v)" != "7.6.3" ]]; then npm install --global npm@7.6.3; fi
74+
run: if [[ "$(npm -v)" != "7.11" ]]; then npm install --global npm@7.11; fi
7575
- run: npm ci --no-audit
7676
- name: Test package-lock for unexpected modifications
7777
run: |
@@ -92,7 +92,7 @@ jobs:
9292
fetch-depth: 1
9393
- uses: actions/setup-node@v2
9494
with:
95-
node-version: ^12.20
95+
node-version: ^12.22
9696
- name: Upgrade npm
9797
run: npm install --global npm@7
9898
- run: npm install --no-shrinkwrap --no-audit
@@ -107,7 +107,7 @@ jobs:
107107
fetch-depth: 1
108108
- uses: actions/setup-node@v2
109109
with:
110-
node-version: ^12.20
110+
node-version: ^12.22
111111
- name: Upgrade npm
112112
run: npm install --global npm@7
113113
- run: npm ci

.taprc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
browser: false
22
coverage: false
3-
esm: false
43
files:
54
- "test-tap/*.js"
65
- "test-tap/reporters/*.js"

0 commit comments

Comments
 (0)