Compare commits

...

99 Commits

Author SHA1 Message Date
Tom Hu
f2bc7b3d58 Fail CI if true 2021-06-10 23:03:11 -04:00
Tom Hu
a48be3a378 a var 2021-06-10 23:01:10 -04:00
Tom Hu
d404e59e88 [DNM] Test fail ci 2021-06-10 22:58:41 -04:00
Tom Hu
2d78cca173 refactor: dependencies and dev dependencies 2021-06-10 22:21:02 -04:00
Tom Hu
ae8835afc4 Merge pull request #358 from codecov/use-4.3.2-ts
fix: Build with ts-4.3.2
2021-06-10 22:03:09 -04:00
Tom Hu
6c61a504e3 fix: Build with ts-4.3.2 2021-06-10 20:59:37 -04:00
Tom Hu
28b82119da Merge pull request #347 from RA80533/deps/install-node-types
deps: install @types/node@14.17.3
2021-06-10 15:19:20 -04:00
Tom Hu
ccdd5a11a4 Merge pull request #357 from RA80533/fix/pre-commit
Add `set -e` to pre-commit hook
2021-06-10 15:18:48 -04:00
Tom Hu
a9bf7a39e6 Merge pull request #344 from codecov/dependabot/npm_and_yarn/jest-junit-12.2.0
Bump jest-junit from 12.1.0 to 12.2.0
2021-06-10 15:17:42 -04:00
RA80533
98a1251dbc Add set -e to pre-commit hook 2021-06-10 13:28:49 -04:00
RA80533
265c6565d0 deps: install @types/node@14.17.3 2021-06-10 09:52:15 -04:00
dependabot[bot]
6c58d35c22 Bump jest-junit from 12.1.0 to 12.2.0
Bumps [jest-junit](https://github.com/jest-community/jest-junit) from 12.1.0 to 12.2.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases)
- [Commits](https://github.com/jest-community/jest-junit/compare/v12.1.0...v12.2.0)

---
updated-dependencies:
- dependency-name: jest-junit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 05:07:11 +00:00
Tom Hu
29386c70ef Merge pull request #342 from codecov/1.5.2
fix: Import version properly as string not object
2021-06-08 21:49:19 -04:00
Tom Hu
52497068bd fix: Import version properly as string not object 2021-06-08 21:25:38 -04:00
Tom Hu
fbeda37de9 Merge pull request #338 from codecov/1.5.1
Bump to 1.5.1
2021-06-08 11:44:36 -04:00
Tom Hu
ebcf63d8f0 Update changelog 2021-06-08 11:42:18 -04:00
Tom Hu
a3e633d744 Merge pull request #339 from codecov/action-version
fix: Add action version
2021-06-08 11:41:24 -04:00
Tom Hu
b8f68524af lint 2021-06-08 11:40:16 -04:00
Tom Hu
c9d0b8155c fix: Add action version 2021-06-08 11:32:00 -04:00
Tom Hu
8f0855a85c Bump to 1.5.1 2021-06-08 11:26:09 -04:00
Tom Hu
c53d6ba320 Merge pull request #337 from codecov/dependabot/npm_and_yarn/glob-parent-5.1.2
Bump glob-parent from 5.1.1 to 5.1.2
2021-06-08 11:17:36 -04:00
Tom Hu
67f597a1c4 Merge pull request #336 from slarse/update-bash-uploader-to-1.0.3
Update bash uploader to 1.0.3
2021-06-08 11:14:46 -04:00
Tom Hu
23d300342d Merge pull request #321 from codecov/dependabot/npm_and_yarn/typescript-4.3.2
Bump typescript from 4.2.4 to 4.3.2
2021-06-08 11:14:41 -04:00
Tom Hu
328e5ac01f Merge pull request #332 from codecov/dependabot/npm_and_yarn/actions/exec-1.1.0
Bump @actions/exec from 1.0.4 to 1.1.0
2021-06-08 11:14:35 -04:00
Tom Hu
9048ba87af Merge pull request #333 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.26.1
Bump @typescript-eslint/parser from 4.25.0 to 4.26.1
2021-06-08 11:14:29 -04:00
dependabot[bot]
004e333947 Bump @typescript-eslint/parser from 4.25.0 to 4.26.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.25.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 15:10:50 +00:00
dependabot[bot]
840a99b437 Bump typescript from 4.2.4 to 4.3.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 15:10:49 +00:00
dependabot[bot]
3cae11df75 Bump @actions/exec from 1.0.4 to 1.1.0
Bumps [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/@actions/core@1.1.0/packages/exec)

---
updated-dependencies:
- dependency-name: "@actions/exec"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 15:10:44 +00:00
Tom Hu
fb7c8dcad3 Merge pull request #323 from codecov/dependabot/npm_and_yarn/ws-7.4.6
Bump ws from 7.3.1 to 7.4.6
2021-06-08 11:09:17 -04:00
dependabot[bot]
8790aaf6ce Bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 15:09:10 +00:00
Tom Hu
e04986db44 Merge pull request #331 from codecov/dependabot/npm_and_yarn/eslint-7.28.0
Bump eslint from 7.27.0 to 7.28.0
2021-06-08 11:09:09 -04:00
Tom Hu
92cbe0669f Merge pull request #334 from codecov/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.26.1
Bump @typescript-eslint/eslint-plugin from 4.25.0 to 4.26.1
2021-06-08 11:08:40 -04:00
Tom Hu
7ed20fef2d Merge pull request #335 from codecov/dependabot/npm_and_yarn/actions/core-1.4.0
Bump @actions/core from 1.3.0 to 1.4.0
2021-06-08 11:08:33 -04:00
Simon Larsén
95c9f38035 Update bash uploader to 1.0.3 2021-06-08 14:22:23 +02:00
dependabot[bot]
5dab066a61 Bump @actions/core from 1.3.0 to 1.4.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 05:13:54 +00:00
dependabot[bot]
ff5bbb3aa8 Bump @typescript-eslint/eslint-plugin from 4.25.0 to 4.26.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.25.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 05:12:34 +00:00
dependabot[bot]
6dfc35f92d Bump eslint from 7.27.0 to 7.28.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:49:48 +00:00
dependabot[bot]
069f3918b5 Bump ws from 7.3.1 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 16:09:34 +00:00
Joe Becher
3ee49263a4 Merge pull request #320 from turkdevops/dependabot/npm_and_yarn/types/jest-26.0.20
doc: add github actions badge
2021-05-26 13:37:37 -04:00
Joe Becher
da4a4a1c99 Merge pull request #316 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.25.0
Bump @typescript-eslint/parser from 4.22.1 to 4.25.0
2021-05-26 13:36:19 -04:00
dependabot[bot]
5eebf0436a Bump @typescript-eslint/parser from 4.22.1 to 4.25.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.1 to 4.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.25.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 17:23:55 +00:00
Joe Becher
9feddcab70 Merge pull request #317 from codecov/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.25.0
Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.25.0
2021-05-26 13:20:53 -04:00
Joe Becher
a18b323e89 Merge pull request #315 from codecov/dependabot/npm_and_yarn/actions/core-1.3.0
Bump @actions/core from 1.2.7 to 1.3.0
2021-05-26 13:20:30 -04:00
Joe Becher
f8e6b45999 Merge pull request #319 from codecov/dependabot/npm_and_yarn/jest-junit-12.1.0
Bump jest-junit from 12.0.0 to 12.1.0
2021-05-26 13:20:07 -04:00
Joe Becher
a737162646 Merge pull request #314 from codecov/dependabot/npm_and_yarn/eslint-7.27.0
Bump eslint from 7.25.0 to 7.27.0
2021-05-26 13:19:29 -04:00
Joe Becher
18b0d954de Merge pull request #311 from codecov/dependabot/npm_and_yarn/actions/github-5.0.0
Bump @actions/github from 4.0.0 to 5.0.0
2021-05-26 13:19:11 -04:00
Joe Becher
bad627d1b6 Merge pull request #310 from codecov/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-26 13:18:48 -04:00
dependabot[bot]
ab8eb9dc66 Bump jest-junit from 12.0.0 to 12.1.0
Bumps [jest-junit](https://github.com/jest-community/jest-junit) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases)
- [Commits](https://github.com/jest-community/jest-junit/compare/v12.0.0...v12.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 05:06:57 +00:00
dependabot[bot]
407299cffc Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.25.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.1 to 4.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.25.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 05:18:04 +00:00
dependabot[bot]
b072ed5085 Bump @actions/core from 1.2.7 to 1.3.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.7 to 1.3.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:51:59 +00:00
dependabot[bot]
1f38181652 Bump eslint from 7.25.0 to 7.27.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.27.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:51:23 +00:00
Joe Becher
39ec4545ca Merge pull request #309 from codecov/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-17 13:06:09 -04:00
dependabot[bot]
d5985f56ba Bump @actions/github from 4.0.0 to 5.0.0
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:56:24 +00:00
dependabot[bot]
4ce3eb846f Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 20:59:44 +00:00
dependabot[bot]
b6708446cb Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 19:02:48 +00:00
Tom Hu
16a94c297b Merge pull request #302 from codecov/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.22.1
Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1
2021-05-06 07:49:45 -04:00
dependabot[bot]
c6981a3267 Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.0 to 4.22.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 11:47:46 +00:00
Tom Hu
2494ac533b Merge pull request #303 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.22.1
Bump @typescript-eslint/parser from 4.22.0 to 4.22.1
2021-05-06 07:46:47 -04:00
Tom Hu
4c6214fb7a Merge pull request #304 from codecov/dependabot/npm_and_yarn/ts-jest-26.5.6
Bump ts-jest from 26.5.5 to 26.5.6
2021-05-06 07:46:22 -04:00
dependabot[bot]
7402d15ad2 Bump ts-jest from 26.5.5 to 26.5.6
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.5 to 26.5.6.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.5.5...v26.5.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 05:19:28 +00:00
dependabot[bot]
b80bc84850 Bump @typescript-eslint/parser from 4.22.0 to 4.22.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.0 to 4.22.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 05:22:29 +00:00
Tom Hu
a1ed4b322b Merge pull request #299 from codecov/pull-in-bash
Pull in bash script and bump to 1.5.0
2021-05-03 09:49:38 -04:00
Tom Hu
2332a737fb Update CHANGELOG 2021-04-29 17:44:11 -04:00
Tom Hu
dc56cf479e revert 2021-04-29 17:39:19 -04:00
Tom Hu
a5399823bb Ensure the right script 2021-04-29 17:36:42 -04:00
Tom Hu
9f471fc6f8 Pull in bash script 2021-04-29 17:33:25 -04:00
Tom Hu
062fb177ae Merge pull request #298 from codecov/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-29 17:29:41 -04:00
Tom Hu
31d2c8f775 Merge pull request #278 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.22.0
Bump @typescript-eslint/parser from 4.20.0 to 4.22.0
2021-04-29 17:04:08 -04:00
dependabot-preview[bot]
47ed2776b9 Bump @typescript-eslint/parser from 4.20.0 to 4.22.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.20.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 21:03:30 +00:00
Tom Hu
b37e21182f Update .github/dependabot.yml 2021-04-29 17:03:07 -04:00
Tom Hu
fd42ae77ab Merge pull request #293 from codecov/dependabot/npm_and_yarn/eslint-7.25.0
Bump eslint from 7.21.0 to 7.25.0
2021-04-29 17:01:51 -04:00
Tom Hu
998cb33cad Merge pull request #292 from codecov/dependabot/npm_and_yarn/ts-jest-26.5.5
Bump ts-jest from 26.5.3 to 26.5.5
2021-04-29 17:01:38 -04:00
dependabot-preview[bot]
052dc5d29d Bump eslint from 7.21.0 to 7.25.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 21:00:27 +00:00
dependabot-preview[bot]
3e2901753e Bump ts-jest from 26.5.3 to 26.5.5
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.3 to 26.5.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 21:00:03 +00:00
Tom Hu
6b52f2a1d9 Merge pull request #297 from codecov/dependabot/npm_and_yarn/types/jest-26.0.23
Bump @types/jest from 26.0.20 to 26.0.23
2021-04-29 16:59:47 -04:00
Tom Hu
4789835c72 Merge pull request #279 from codecov/dependabot/npm_and_yarn/actions/core-1.2.7
Bump @actions/core from 1.2.6 to 1.2.7
2021-04-29 16:59:25 -04:00
Tom Hu
47b1f9735f Merge pull request #277 from codecov/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.22.0
Bump @typescript-eslint/eslint-plugin from 4.16.1 to 4.22.0
2021-04-29 16:58:51 -04:00
Tom Hu
298ba60aef Merge pull request #271 from codecov/dependabot/npm_and_yarn/typescript-4.2.4
Bump typescript from 4.2.3 to 4.2.4
2021-04-29 16:58:22 -04:00
dependabot-preview[bot]
abf28f2040 Upgrade to GitHub-native Dependabot 2021-04-28 22:28:48 +00:00
dependabot-preview[bot]
cdc2a0ed57 Bump @types/jest from 26.0.20 to 26.0.23
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.20 to 26.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 06:58:50 +00:00
Tom Hu
967e2b38a8 Merge pull request #287 from codecov/update-validation-regex
Update validation regex, pull checksums into script, and bump to 1.4.1
2021-04-20 08:59:13 -04:00
Tom Hu
77a7b61cd5 Lint 2021-04-20 08:38:33 -04:00
Tom Hu
50895b2a6f Pull checksums into script 2021-04-20 08:35:56 -04:00
Tom Hu
95e6f30a60 Update validation regex and bump to 1.4.1 2021-04-19 21:23:35 -04:00
Tom Hu
0e28ff86a5 Merge pull request #284 from codecov/1.4.0
Bump to 1.4.0
2021-04-16 12:54:26 -04:00
Tom Hu
72182f9425 Bump to 1.4.0 2021-04-16 11:23:33 -04:00
Tom Hu
ce1ffb8db7 Merge pull request #282 from codecov/add-checksum-verification
Add checksum verification of bash script
2021-04-16 11:21:04 -04:00
Tom Hu
864620acb9 Use i not 1 2021-04-16 07:58:51 -04:00
Tom Hu
6ac8172373 copypasta 2021-04-15 22:30:15 -04:00
Tom Hu
5ab0dbc584 alpha 2021-04-15 22:28:38 -04:00
Tom Hu
5e8c27dd4d tab 2021-04-15 22:26:06 -04:00
Tom Hu
444b352d52 Update tests 2021-04-15 22:25:03 -04:00
Tom Hu
83cbbf806b Add another test 2021-04-15 22:10:41 -04:00
Tom Hu
040839f579 Add validation of checksums 2021-04-15 22:08:27 -04:00
Tom Hu
6e56f7a5a6 Test version pulling 2021-04-15 11:25:10 -04:00
dependabot-preview[bot]
ae04cc96c3 Bump @actions/core from 1.2.6 to 1.2.7
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-14 07:07:49 +00:00
dependabot-preview[bot]
d2569b4d35 Bump @typescript-eslint/eslint-plugin from 4.16.1 to 4.22.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.16.1 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 06:35:27 +00:00
dependabot-preview[bot]
216c5372a9 Bump typescript from 4.2.3 to 4.2.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 07:03:28 +00:00
Kadir Selçuk
b349bb9c57 Update README.md 2021-03-15 01:20:30 +03:00
15 changed files with 5901 additions and 54096 deletions

7
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10

View File

@@ -15,6 +15,7 @@ jobs:
- name: Upload coverage to Codecov (demo)
uses: ./
with:
fail_ci_if_error: false
files: ./coverage/calculator/coverage-final.json,./coverage/coverage-test/coverage-final.json
file: ./coverage/coverage-final.json
flags: demo
@@ -22,6 +23,7 @@ jobs:
- name: Upload coverage to Codecov (script)
uses: ./
with:
fail_ci_if_error: true
files: ./coverage/script/coverage-final.json
flags: script
name: codecov-script

View File

@@ -1,29 +1,78 @@
## 1.5.2
### Fixes
- # fix: Import version properly as string not object
## 1.5.1
### Fixes
- #320 doc: add github actions badge
- #336 Update bash uploader to 1.0.3
- #339 fix: Add action version
### Dependencies
- #302 Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1
- #303 Bump @typescript-eslint/parser from 4.22.0 to 4.22.1
- #304 Bump ts-jest from 26.5.5 to 26.5.6
- #309 Bump lodash from 4.17.19 to 4.17.21
- #310 Bump hosted-git-info from 2.8.8 to 2.8.9
- #311 Bump @actions/github from 4.0.0 to 5.0.0
- #314 Bump eslint from 7.25.0 to 7.27.0
- #315 Bump @actions/core from 1.2.7 to 1.3.0
- #316 Bump @typescript-eslint/parser from 4.22.1 to 4.25.0
- #317 Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.25.0
- #319 Bump jest-junit from 12.0.0 to 12.1.0
- #321 Bump typescript from 4.2.4 to 4.3.2
- #323 Bump ws from 7.3.1 to 7.4.6
- #331 Bump eslint from 7.27.0 to 7.28.0
- #332 Bump @actions/exec from 1.0.4 to 1.1.0
- #333 Bump @typescript-eslint/parser from 4.25.0 to 4.26.1
- #334 Bump @typescript-eslint/eslint-plugin from 4.25.0 to 4.26.1
- #335 Bump @actions/core from 1.3.0 to 1.4.0
- #337 Bump glob-parent from 5.1.1 to 5.1.2
## 1.5.0
### Features
- #299 Pull Codecov bash script into the action
### Dependencies
- #271 Bump typescript from 4.2.3 to 4.2.4
- #277 Bump @typescript-eslint/eslint-plugin from 4.16.1 to 4.22.0
- #278 Bump @typescript-eslint/parser from 4.20.0 to 4.22.0
- #279 Bump @actions/core from 1.2.6 to 1.2.7
- #292 Bump ts-jest from 26.5.3 to 26.5.5
- #293 Bump eslint from 7.21.0 to 7.25.0
- #297 Bump @types/jest from 26.0.20 to 26.0.23
- #298 Upgrade to GitHub-native Dependabot
## 1.4.1
### Fixes
- #287 Update VERSION regex to restrict on digits and dot and move checksums into script
## 1.4.0
### Features
- #282 Add checksum verification of bash script
## 1.3.2
- # Overwrites pr number for pull_request_target events
### Fixes
- #264 Overwrites pr number for pull_request_target events
## 1.3.1
### Fixes
- #253 Add `network_filter` to action manifest
## 1.3.0
### Features
- #252 Add "network_filter" input
## 1.2.2
### Fixes
- #241 pass root_dir using proper bash arg
- #244 Overwrite the commit on pull_request* events
## 1.2.1
### Fixes
- #196 Add parameters to the action.yml
## 1.2.0
### Features
- #193 Add all the bash params
@@ -31,13 +80,11 @@
- #193 Fixes issue with working-directory
## 1.1.1
### Fixes
- #184 Add automations ensure proper builds and deployments
- #184 Fixes verbose flag
## 1.1.0
### Features
- #110 Add "working-directory:" input
- #174 Support Xcode specificed parameters

View File

@@ -2,6 +2,7 @@
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-v1-undefined.svg?logo=github&logoColor=white&style=flat)](https://github.com/marketplace/actions/codecov)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action?ref=badge_shield)
[![Workflow for Codecov Action](https://github.com/codecov/codecov-action/actions/workflows/main.yml/badge.svg)](https://github.com/codecov/codecov-action/actions/workflows/main.yml)
### Easily upload coverage reports to Codecov from GitHub Actions
>The latest release of this Action adds support for tokenless uploads from GitHub Actions!

View File

@@ -59,6 +59,9 @@ inputs:
name:
description: 'User defined upload name. Visible in Codecov UI'
required: false
network_filter:
description: 'Used to restrict the set of git/hg files that can be matched with filenames in the coverage report. This is useful for monorepos or other setups where a full filepath may not be specified in the coverage report, and that shortened filepath may appear multiple times in a directory structure (e.g. __init__.py)'
required: false
override_branch:
description: 'Specify the branch name'
required: false
@@ -74,9 +77,6 @@ inputs:
override_tag:
description: 'Specify the git tag'
required: false
network_filter:
description: 'Used to restrict the set of git/hg files that can be matched with filenames in the coverage report. This is useful for monorepos or other setups where a full filepath may not be specified in the coverage report, and that shortened filepath may appear multiple times in a directory structure (e.g. __init__.py)'
required: false
path_to_write_report:
description: 'Write upload file to path before uploading'
required: false

1884
dist/codecov vendored Normal file

File diff suppressed because it is too large Load Diff

54358
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,10 @@
#!/usr/bin/env bash
npm i --package-lock-only
set -e
npm install
npm run lint --fix
npm run build
git add src/
git add dist/index.js
git add dist/
git add package-lock.json

1659
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "codecov-action",
"version": "1.3.2",
"version": "1.5.2",
"description": "Upload coverage reports to Codecov from GitHub Actions",
"main": "index.js",
"scripts": {
@@ -23,24 +23,24 @@
},
"homepage": "https://github.com/codecov/codecov-action#readme",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4",
"@actions/github": "^4.0.0",
"@types/jest": "^26.0.20",
"@zeit/ncc": "^0.22.3",
"@actions/core": "^1.4.0",
"@actions/exec": "^1.1.0",
"@actions/github": "^5.0.0",
"fs": "0.0.1-security",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"request": "^2.88.2",
"requestretry": "^5.0.0",
"ts-jest": "^26.5.3",
"typescript": "^4.2.3",
"yarn": "^1.22.10"
"request": "^2.88.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.21.0",
"eslint-config-google": "^0.14.0"
"@types/jest": "^26.0.23",
"@types/node": "^14.17.3",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"@zeit/ncc": "^0.22.3",
"eslint": "^7.28.0",
"eslint-config-google": "^0.14.0",
"jest": "^26.6.3",
"jest-junit": "^12.2.0",
"ts-jest": "^26.5.6",
"typescript": "^4.3.2",
"yarn": "^1.22.10"
}
}

View File

@@ -1,5 +1,8 @@
import buildExec from './buildExec';
const github = require('@actions/github');
import VERSION from './version';
const context = github.context;
test('no arguments', () => {
@@ -12,7 +15,7 @@ test('no arguments', () => {
'-F',
'',
'-Q',
'github-action',
`github-action-${VERSION}`,
];
if (context.eventName == 'pull_request') {
args.push('-C', `${context.payload.pull_request.head.sha}`);
@@ -70,7 +73,7 @@ test('all arguments', () => {
'-F',
'test',
'-Q',
'github-action',
`github-action-${VERSION}`,
'-c',
'-N',
'83231650328f11695dfb754ca0f540516f188d27',

View File

@@ -1,6 +1,8 @@
const core = require('@actions/core');
const github = require('@actions/github');
import VERSION from './version';
const context = github.context;
const isTrue = (variable) => {
@@ -51,7 +53,14 @@ const buildExec = () => {
workingDir + '/codecov.sh' : 'codecov.sh';
const execArgs = [filepath];
execArgs.push( '-n', `${name}`, '-F', `${flags}`, '-Q', 'github-action' );
execArgs.push(
'-n',
`${name}`,
'-F',
`${flags}`,
'-Q',
`github-action-${VERSION}`,
);
const options:any = {};
options.env = Object.assign(process.env, {

1884
src/codecov Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -2,63 +2,47 @@ const core = require('@actions/core');
const exec = require('@actions/exec');
const fs = require('fs');
const request = require('requestretry');
import buildExec from './buildExec';
const codecovScript = fs.readFileSync(__dirname + '/codecov');
let failCi;
try {
request({
json: false,
maxAttempts: 10,
timeout: 3000,
url: 'https://codecov.io/bash',
}, (error, response, body) => {
const {execArgs, options, filepath, failCi} = buildExec();
const {execArgs, options, filepath, failCi} = buildExec();
try {
if (error && failCi) {
throw error;
} else if (error) {
core.warning(`Codecov warning: ${error.message}`);
}
fs.writeFile(filepath, codecovScript, (err) => {
if (err && failCi) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
}
fs.writeFile(filepath, body, (err) => {
exec.exec('bash', execArgs, options)
.catch((err) => {
console.log(err);
if (failCi) {
core.setFailed(
`Codecov failed with the following error: ${err.message}`,
);
} else {
core.warning(`Codecov warning: ${err.message}`);
}
})
.then((status) => {
console.log(status);
unlinkFile();
});
const unlinkFile = () => {
fs.unlink(filepath, (err) => {
if (err && failCi) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
}
exec.exec('bash', execArgs, options)
.catch((err) => {
if (failCi) {
core.setFailed(
`Codecov failed with the following error: ${err.message}`,
);
} else {
core.warning(`Codecov warning: ${err.message}`);
}
})
.then(() => {
unlinkFile();
});
const unlinkFile = () => {
fs.unlink(filepath, (err) => {
if (err && failCi) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
}
});
};
});
} catch (error) {
core.setFailed(
`Codecov failed with the following error: ${error.message}`,
);
}
};
});
} catch (error) {
if (failCi) {

3
src/version.ts Normal file
View File

@@ -0,0 +1,3 @@
const VERSION = 'v1.5.2';
export default VERSION;