2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-21 13:24:11 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Frazer Smith 86eeff0e68 ci: remove git credentials after checkout (#5235)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-22 20:28:47 +02:00
Jay e6f0efc75d chore: ci should run on any branch 2022-08-08 18:20:03 +02:00
Jay 3e2a925731 Update ci.yml 2022-07-27 19:27:20 +02:00
dependabot[bot] 1db715dd3b chore(deps): bump actions/setup-node from 2 to 3 (#4798)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-18 11:15:53 +02:00
dependabot[bot] de7f4c6c39 chore(deps): bump actions/checkout from 2 to 3 (#4796)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-18 11:11:11 +02:00
Jay 9e5145e714 fixed(ci): removed wrkflow permissions that are wrong 2022-06-02 21:38:47 +02:00
Jay 7ec84f817f chore(GitHub Actions): rename master to main, added protections 2022-06-02 21:12:48 +02:00
neilnaveen ef6064c83b chore: Set permissions for GitHub actions (#4765)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-06-02 21:09:29 +02:00
Jay 12103f8208 chore: adjusted CI to run on any current and future version branches 2022-05-28 12:09:21 +02:00
Jay 9bb016f95e chore: updated actions to run on new version based branches 2022-05-28 11:37:01 +02:00
Dmitriy Mozgovoy 467025bdb7 Fixed bug #4727 : toFormData Blob issue on node>v17; (#4728)
* Fixed bug #4727;
Added node 18.x to the CI;
Added hotfix for `ERR_OSSL_EVP_UNSUPPORTED` issue with karma running on node >=17.x;
Added `cross-env` to allow running build and test scripts on Windows platforms;

* Added conditional setting of `--openssl-legacy-provider` option for node versions >=17.x;

* Refactored ssl-hotfix & test script;

* Fixed and refactored default max body length test due to ECONNRESET failure;

* Added test for converting the data uri to a Blob;
Fixed bug with parsing mime type for Blob;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-05-20 16:31:26 +02:00
Jay 21edbc2c92 Fix merge conflict 2022-05-04 20:52:33 +02:00
Jay 1885ac79c5 Adding dev branch to CI 2021-10-27 08:02:39 +02:00
Jay 76f09afc03 Release/v0.22.0 (#4107)
* fix/Avoid package.json import; (#4041)

* Added auto-generated config module `env/data.js` for importing package environment vars without importing the whole `package.json`;
Refactored `http.js` to use `env/data.js` instead of package.json;

* Added `env/data.js`;
Added `env/README.md`;

* Feat/export package version constant (#4065)

* Added auto-generated config module `env/data.js` for importing package environment vars without importing the whole `package.json`;
Refactored `http.js` to use `env/data.js` instead of package.json;

* Added `env/data.js`;
Added `env/README.md`;

* Export package version constant;

* Fixed cancelToken leakage; Added AbortController support; (#3305)

* Fixed cancelToken leakage;
Added AbortController support;

* Fixed typings;

* Documented `signal` option;

* Added processing of early cancellation using AbortController without sending a request;

Co-authored-by: Jay <jasonsaayman@gmail.com>

* Updating CI to run on release branches

* Fixed default transitional config for custom Axios instance; (#4052)

Refactored `/core/mergeConfig`;

Co-authored-by: Jay <jasonsaayman@gmail.com>

* Prepping v0.22.0 for release

* Updated date

Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2021-10-01 08:02:13 +02:00
Igor Randjelovic 7d6bddba2d Fix node version on CI (#4069)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2021-09-17 08:41:32 +02:00
Kohta Ito 4fbeecbcb2 Adding CI on Github Actions. (#3938) 2021-08-13 14:27:17 +02:00