-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
5,096 additions
and
766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
language: node_js | ||
node_js: | ||
- "14" | ||
- "12" | ||
- "11" | ||
- "10" | ||
- "9" | ||
- "8" | ||
- "7" | ||
- "6" | ||
script: | ||
- npm run build | ||
|
||
stages: | ||
- test | ||
- build | ||
|
||
jobs: | ||
include: | ||
- name: Test with Node.js lts/* | ||
stage: test | ||
node_js: "lts/*" | ||
script: | ||
- npm test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js | ||
- name: Build with Node.js lts/* | ||
stage: build | ||
node_js: "lts/*" | ||
script: | ||
- npm run build | ||
- name: Build with Node.js stable | ||
stage: build | ||
node_js: "stable" | ||
script: | ||
- npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module.exports = { | ||
moduleFileExtensions: ["ts", "js"], | ||
transform: { | ||
"^.+\\.ts$": "ts-jest", | ||
}, | ||
globals: { | ||
"ts-jest": { | ||
tsConfig: "tsconfig.json", | ||
diagnostics: { | ||
/* Ignore the error "is declared, but not used." | ||
https://huafu.github.io/ts-jest/user/config/diagnostics */ | ||
ignoreCodes: [2322], | ||
}, | ||
}, | ||
}, | ||
testMatch: ["**/tests/**/*.test.ts"], | ||
}; |
Oops, something went wrong.