mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-22 03:21:21 +00:00
* build: initialize JavaScript action project * chore(dependabot): check for npm package updates * style: ignore `main` dir and `README.md` from being formatted * ci: add Build workflow that contains Build Package job * ci: add Test Package job in the Test workflow * test: add an empty `main.test.ts` test * chore: adjust Git attributes for `main/index.mjs` file * docs(readme): add a build status badge
20 lines
391 B
JSON
20 lines
391 B
JSON
{
|
|
"collectCoverage": true,
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"statements": 100
|
|
}
|
|
},
|
|
"extensionsToTreatAsEsm": [".ts", ".mts"],
|
|
"moduleNameMapper": {
|
|
"^(\\.{1,2}/.*)\\.mjs$": "$1.mts"
|
|
},
|
|
"testMatch": ["**/*.test.ts"],
|
|
"transform": {
|
|
"^.+\\.m?ts$": ["ts-jest", { "useESM": true }]
|
|
}
|
|
}
|