Skip to content

Commit 5285744

Browse files
authoredApr 22, 2020
Add node v14 to CI, use .taprc. (fastify#2219)
* Add node v14 to CI, use .taprc. * Update LTS.md to cover the CI update
1 parent 6e80352 commit 5285744

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed
 

‎.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [10.x, 12.x, 13.x]
14+
node-version: [10.x, 12.x, 13.x, 14.x]
1515
os: [ubuntu-latest, windows-latest, macOS-latest]
1616

1717
steps:

‎.taprc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
esm: false
2+
ts: false
3+
jsx: false
4+
flow: false
5+
coverage: true

‎docs/LTS.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ A "month" is to be a period of 30 consecutive days.
4343

4444
| OS | Version | Package Manager | Node.js |
4545
|---------|------------------------|---------------------------|-----------|
46-
| Linux | Ubuntu 16.04 | npm | 10,12 |
46+
| Linux | Ubuntu 16.04 | npm | 10,12,14 |
4747
| Linux | Ubuntu 16.04 | yarn,pnpm | 10,12 |
48-
| Windows | Windows Server 2016 R2 | npm | 10,12 |
49-
| MacOS | macOS X Mojave 10.14 | npm | 10,12 |
48+
| Windows | Windows Server 2016 R2 | npm | 10,12,14 |
49+
| MacOS | macOS X Mojave 10.14 | npm | 10,12,14 |
5050

5151
Using yarn might require passing the `--ignore-engines` flag.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"lint": "npm run lint:standard && npm run lint:typescript",
99
"lint:standard": "standard --verbose | snazzy",
1010
"lint:typescript": "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin test/types/*.ts fastify.d.ts",
11-
"unit": "tap --no-ts --no-jsx --no-esm -J test/*.test.js test/*/*.test.js",
12-
"unit:report": "tap --no-ts --no-jsx --no-esm -J test/*.test.js test/*/*.test.js --cov --coverage-report=html --coverage-report=cobertura | tee out.tap",
11+
"unit": "tap -J test/*.test.js test/*/*.test.js",
12+
"unit:report": "tap -J test/*.test.js test/*/*.test.js --cov --coverage-report=html --coverage-report=cobertura | tee out.tap",
1313
"unit:junit": "tap-mocha-reporter xunit < out.tap > test/junit-testresults.xml",
1414
"test:typescript": "tsd",
1515
"test:report": "npm run lint && npm run unit:report && npm run test:typescript",

0 commit comments

Comments
 (0)
Please sign in to comment.