Commit Graph

148 Commits

Author SHA1 Message Date
Amin Yahyaabadi 23929dfd4b
chore: update parcel 2024-01-22 01:41:22 -08:00
Amin Yahyaabadi a823e49204
chore: downgrade prettier 2024-01-22 01:41:21 -08:00
Amin Yahyaabadi 4c125e89f7
fix: update dependencies 2024-01-22 01:41:20 -08:00
Amin Yahyaabadi ce47e106b8 fix: support finding BuildTools msvc 2023-10-19 10:12:36 -07:00
Amin Yahyaabadi e85adb2ac6 docs: update the docs for exec-powershell [skip ci] 2023-10-19 09:57:34 -07:00
Amin Yahyaabadi 6a37ff7253 fix: fix grantUserWriteAccess for cpprc 2023-09-11 11:47:10 -07:00
Amin Yahyaabadi 4f69ae3519 feat: use grantUserWriteAccess from admina and await it 2023-09-11 11:05:16 -07:00
Amin Yahyaabadi 96396ce7c5 perf: add dynamically loaded cache-dependencies for actions python
This reduces the main bundle size by ⚠️  1.28 MB minified! This bundle is loaded only when caching is enabled.

`setup-python` is used in [`setup-cpp`](https://github.com/aminya/setup-cpp) as a library. This optimization reduces the bundle size for that package as well. The build system of `setup-python` uses `ncc`, which doesn't immediately benefit from this change, but setup-cpp uses `Parcel`, which shows this huge improvement.

The reason for this huge reduction is that caching the dependencies uses the `@actions/cache` package, which is an extremely large package with big dependencies. The bundle size before this separation shows this:
![Screenshot_20230907_230625](https://github.com/actions/setup-python/assets/16418197/ec1baf34-85c3-459d-b8cf-894899959b2c)
2023-09-07 23:21:19 -07:00
Amin Yahyaabadi 5126444593 fix: optimize the build with terser-config-atomic 2023-09-07 13:46:37 -07:00
Amin Yahyaabadi 662daca0bf fix: remove unused dependencies + list bundled ones [skip test] 2023-08-31 23:01:58 -07:00
Amin Yahyaabadi d93dc2b536 feat: add timeout for installation of the tools 2023-08-21 20:11:21 -07:00
Amin Yahyaabadi 7449a7e89e fix: update dependencies 2023-08-01 14:06:23 -07:00
Amin Yahyaabadi 0b79280662 test: use swc as the jest transformer 2023-07-24 13:20:39 -07:00
Amin Yahyaabadi f0d23edbf1 fix: update dependencies 2023-07-24 13:20:13 -07:00
Amin Yahyaabadi b2cf91c9df fix: use node 20 instead of node 18 2023-07-15 15:41:58 -07:00
Amin Yahyaabadi f6ebfc1d77 fix: memoize addPythonBaseExecPrefix 2023-06-28 15:22:03 -07:00
Amin Yahyaabadi 49b6a080cc chore: update dependencies 2023-06-27 17:09:14 -07:00
Amin Yahyaabadi b736d88166 chore: v0.28.1 [skip test] 2023-05-26 13:08:18 -07:00
Amin Yahyaabadi 77b7ec30b7 fix: override whatwg-url to be the latest version 2023-05-26 12:42:10 -07:00
Amin Yahyaabadi 297213111d fix: remove the unused update-notifier 2023-05-26 12:06:06 -07:00
Amin Yahyaabadi cb8940d945 fix: update parcel 2023-05-26 12:00:04 -07:00
Amin Yahyaabadi 5c3b317006 fix: use simple-update-notifier instead of update-notifier 2023-05-24 22:07:48 -07:00
Amin Yahyaabadi f5342df15b feat: check if update-notifier is installed before using it 2023-05-24 22:06:37 -07:00
Amin Yahyaabadi 3797303356 fix: do not use fs/promises 2023-05-24 22:06:24 -07:00
Amin Yahyaabadi d60cc6ac6f fix: update dependencies 2023-05-24 16:45:05 -07:00
Amin Yahyaabadi 11b44434f5 fix: fix all the linting errors 2023-05-24 14:57:08 -07:00
Amin Yahyaabadi 00c09d28e6 fix: update path-exists 2023-04-23 01:09:38 -07:00
Amin Yahyaabadi f785f1ada7 fix: remove pnpm overrides 2023-04-23 01:06:16 -07:00
Amin Yahyaabadi ea04bfe6af fix: replace npmcli/ci-detect with ci-info 2023-04-22 02:31:04 -07:00
Amin Yahyaabadi 54a546118a fix: remove lru_cache override 2023-04-22 02:29:32 -07:00
Amin Yahyaabadi 8f35efa1fd feat: support LLVM 16 2023-04-21 14:19:59 -07:00
Amin Yahyaabadi 7b993ab70d fix: update setup-python and other deps 2023-04-21 11:38:35 -07:00
Amin Yahyaabadi 7c782cd66a fix: update dependencies 2023-04-14 01:15:14 -07:00
Amin Yahyaabadi 42fe442e94 fix: update escape-path-with-spaces 2023-03-09 13:36:02 -08:00
Amin Yahyaabadi f15b179c6a fix: update ci-detect package 2023-03-09 13:33:42 -08:00
Amin Yahyaabadi 3ada54b0db fix: update dependencies 2023-03-09 13:31:36 -08:00
Amin Yahyaabadi f633d98181 fix: update dependencies 2023-01-22 14:50:58 -08:00
Amin Yahyaabadi d452ddcd4d fix: move all dependencies to the devDependencies 2023-01-18 01:26:45 -08:00
Amin Yahyaabadi 4e183b6107 fix: fix bug in the Windows local PATH variable name 2023-01-15 01:48:12 -08:00
Amin Yahyaabadi f1f2460b85 fix: update dependencies 2023-01-15 01:37:02 -08:00
Amin Yahyaabadi 84ecfb4b29 fix: retry tool download process in case of errors 2022-12-21 13:46:00 -08:00
Amin Yahyaabadi 1cfa046fa8 fix: update dependencies 2022-12-14 14:16:14 -08:00
Amin Yahyaabadi 5505d67258 fix: escape regex of the name-version apt package 2022-11-22 21:51:51 -08:00
Amin Yahyaabadi eea16aa8c7 fix: down-grade path-exists to v4.0.0 due to node:fs usage 2022-11-22 20:59:40 -08:00
Amin Yahyaabadi ebd90dd38d perf: parallelized checking of the file existence 2022-11-22 20:51:18 -08:00
Amin Yahyaabadi 70c228ecc9 fix: quote the environment variables before adding 2022-11-20 22:45:45 -08:00
Amin Yahyaabadi dc44307b96 chore: update dependencies 2022-11-20 16:12:07 -08:00
Amin Yahyaabadi bcb2f0e470 fix: update dev-dependencies 2022-11-08 21:49:43 -08:00
Amin Yahyaabadi b5660f6bd7 chore: update dev-dependencies 2022-10-29 01:42:05 -07:00
Amin Yahyaabadi 2785bdd10b chore: remove now unnecessary loose-ts-check 2022-10-19 22:05:45 -07:00