Skip to content

Commit

Permalink
Add node v14 to CI, use .taprc. (#2219)
Browse files Browse the repository at this point in the history
* Add node v14 to CI, use .taprc.

* Update LTS.md to cover the CI update
  • Loading branch information
mcollina committed Apr 22, 2020
1 parent 6e80352 commit 5285744
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -11,7 +11,7 @@ jobs:

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

steps:
Expand Down
5 changes: 5 additions & 0 deletions .taprc
@@ -0,0 +1,5 @@
esm: false
ts: false
jsx: false
flow: false
coverage: true
6 changes: 3 additions & 3 deletions docs/LTS.md
Expand Up @@ -43,9 +43,9 @@ A "month" is to be a period of 30 consecutive days.

| OS | Version | Package Manager | Node.js |
|---------|------------------------|---------------------------|-----------|
| Linux | Ubuntu 16.04 | npm | 10,12 |
| Linux | Ubuntu 16.04 | npm | 10,12,14 |
| Linux | Ubuntu 16.04 | yarn,pnpm | 10,12 |
| Windows | Windows Server 2016 R2 | npm | 10,12 |
| MacOS | macOS X Mojave 10.14 | npm | 10,12 |
| Windows | Windows Server 2016 R2 | npm | 10,12,14 |
| MacOS | macOS X Mojave 10.14 | npm | 10,12,14 |

Using yarn might require passing the `--ignore-engines` flag.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -8,8 +8,8 @@
"lint": "npm run lint:standard && npm run lint:typescript",
"lint:standard": "standard --verbose | snazzy",
"lint:typescript": "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin test/types/*.ts fastify.d.ts",
"unit": "tap --no-ts --no-jsx --no-esm -J test/*.test.js test/*/*.test.js",
"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",
"unit": "tap -J test/*.test.js test/*/*.test.js",
"unit:report": "tap -J test/*.test.js test/*/*.test.js --cov --coverage-report=html --coverage-report=cobertura | tee out.tap",
"unit:junit": "tap-mocha-reporter xunit < out.tap > test/junit-testresults.xml",
"test:typescript": "tsd",
"test:report": "npm run lint && npm run unit:report && npm run test:typescript",
Expand Down

0 comments on commit 5285744

Please sign in to comment.