Commit Graph

27 Commits

Author SHA1 Message Date
Anand Chowdhary
aff8b23be8
Add support for failing check on HTTP error responses (#23) 2020-08-29 11:06:49 +10:00
Joel Male
0c4ba5b174 Add backwards compatibility 2020-08-27 18:25:12 +10:00
Joel Male
01d242f5b1 v2.0.1 2020-08-27 18:23:33 +10:00
dependabot[bot]
9fa1db0dd2
⬆️ Bump typescript from 3.9.7 to 4.0.2 (#13)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joel Male <joel@joelmale.com>
2020-08-27 18:15:57 +10:00
dependabot[bot]
ebddbc5b50
Bump prettier from 2.0.5 to 2.1.1 (#15)
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 18:15:09 +10:00
dependabot[bot]
f91ad44035
Bump @vercel/ncc from 0.23.0 to 0.24.0 (#16)
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.23.0...0.24.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 18:14:56 +10:00
dependabot[bot]
1d93074b53
Bump @actions/core from 1.2.4 to 1.2.5 (#18)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.5.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 18:14:42 +10:00
Anand Chowdhary
517289c047
Add support for environment variables (fixed #17) (#19)
* v2.0.0 (#12)

- Convert project to Javascript/Typescript
- Allow custom headers to be passed in (optional)
- Allow body to be optional

* Update action.yml

* Update action.yml

* Add support for environment variables (fixed #17)

* Add support for header as environment variables

* Run build and package

Co-authored-by: Joel Male <joel@joelmale.com>
2020-08-27 18:14:30 +10:00
Joel Male
e22e83d67d Merge branch 'master' into develop
# Conflicts:
#	action.yml
2020-08-27 18:11:32 +10:00
Joel Male
05b47b58c9 Update action.yml 2020-08-26 10:56:36 +10:00
Joel Male
363ff430ae Update action.yml 2020-08-26 10:54:39 +10:00
Joel Male
1ada95e04a
v2.0.0 (#12)
- Convert project to Javascript/Typescript
- Allow custom headers to be passed in (optional)
- Allow body to be optional
2020-08-26 10:52:47 +10:00
Joel Male
a2d3f9a4da v2.0.0 2020-08-26 10:50:05 +10:00
Joel Male
d3ff660fa9 Allow optional headers & body 2020-08-26 10:41:58 +10:00
Joel Male
5be5ae3f9a Prepare for release
- Final cleanup
2020-08-26 10:38:11 +10:00
Joel Male
db36b9f178 Attempt to have code wait for request to finish 2020-08-26 10:34:42 +10:00
Joel Male
cfebc00721 Attempt to fix missing status code output 2020-08-26 10:31:06 +10:00
Joel Male
d4413d8be7 Update logging for debug purposes 2020-08-26 10:25:43 +10:00
Joel Male
a2c63f8d08 Fix issue with res.status being undefined 2020-08-26 10:20:01 +10:00
Joel Male
0740593bc2 Update build 2020-08-26 10:12:31 +10:00
Joel Male
f43e86409d Remove fetch, add axios 2020-08-26 10:10:43 +10:00
Joel Male
1cbd7b0bbc Add node-fetch 2020-08-26 10:00:45 +10:00
Joel Male
e4e62ab7e8 Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
Joel Male
600d4f061c Small fixes to action.yml and action output 2020-08-26 09:50:21 +10:00
Joel Male
00f958821e Convert action to ts
- Add optional header support
- Add optional body support
2020-08-26 09:36:04 +10:00
Joel Male
749e2dcbc6 Doc updates (Issue: #6) 2019-10-17 13:08:05 +10:00
Joel Male
6b83612926 🚀 Initial commit 2019-08-19 08:19:30 +10:00