Commit Graph

324 Commits

Author SHA1 Message Date
Amin Yahyaabadi 1c7c39221b
test: fix importing @shockpkg/archive-files in jest 2024-02-17 00:31:11 -08:00
Amin Yahyaabadi c0f0580956
fix: fix shockpkg/archive-files usage for jest and windows 2024-02-16 23:36:54 -08:00
Amin Yahyaabadi 9a5a9cc5b5
fix: fix extracting dmg files 2024-02-16 23:11:59 -08:00
Amin Yahyaabadi d0aafc239f
fix: update dependencies 2024-02-16 23:07:54 -08:00
Amin Yahyaabadi f2828c7aeb
feat: install doxygen via official Dmg files 2024-02-16 21:47:47 -08:00
Amin Yahyaabadi f9b35199a3
feat: use Node 20 in GitHub Actions 2024-02-16 15:15:35 -08:00
Amin Yahyaabadi 5465644a17
feat: skip graphviz installation on older MacOS
f
2024-02-16 15:15:14 -08:00
Amin Yahyaabadi 4e8c2f8bfb
chore: v0.36.2 [skip test] 2024-01-24 17:08:05 -08:00
Amin Yahyaabadi cc30e9b1d5
fix: ensure existence of the pipx folders 2024-01-24 12:46:28 -08:00
Amin Yahyaabadi 47e4597aa4
test: remove .js extension for typescript files for jest 2024-01-22 02:07:57 -08:00
Amin Yahyaabadi 8b2ab43823
fix: add fs/promises compat for node 12 2024-01-22 01:54:10 -08:00
Amin Yahyaabadi 649bb63b16
fix: update admina to the latest with execa 7 2024-01-22 01:43:45 -08:00
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 6e563b8e5f chore: v0.36.1 [skip test] 2023-11-15 11:04:51 -08:00
Amin Yahyaabadi baac8c6db3 chore: v0.36.0 [skip test] 2023-10-22 17:12:39 -07:00
Amin Yahyaabadi a296e2c916 chore: v0.35.7 [skip test] 2023-10-20 11:32:28 -07: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 436e27cecb chore: v0.35.6 [skip test] 2023-09-11 11:48:10 -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 5f4cbc86cd chore: v0.35.5 [skip test] 2023-09-11 09:47:45 -07:00
Amin Yahyaabadi 15f7626551 chore: v0.35.4 [skip test] 2023-09-11 01:21:58 -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 ffff3ab313 chore: v0.35.3 [skip test] 2023-09-07 14:15:08 -07:00
Amin Yahyaabadi 5126444593 fix: optimize the build with terser-config-atomic 2023-09-07 13:46:37 -07:00
Amin Yahyaabadi 1f91d9621c chore: v0.35.2 [skip test] 2023-09-05 12:32:01 -07:00
Amin Yahyaabadi 14a1b4d654 test: run the tests serially 2023-09-05 01:11:18 -07:00
Amin Yahyaabadi 5e87b7794a chore: v0.35.1 [skip test] 2023-09-01 11:44:03 -07:00
Amin Yahyaabadi fd3d46ef75 fix: do not bundle node_modules in the package 2023-09-01 11:43:14 -07:00
Amin Yahyaabadi 99ca8d9642 chore: v0.35.0 [skip test] 2023-09-01 11:40:33 -07:00
Amin Yahyaabadi 662daca0bf fix: remove unused dependencies + list bundled ones [skip test] 2023-08-31 23:01:58 -07:00
Amin Yahyaabadi 0dd681ea14 chore: v0.34.0 [skip test] 2023-08-21 22:11:28 -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 4eb56b89c0 test: run the jest tests in parallel 2023-07-24 15:28:48 -07:00
Amin Yahyaabadi 5c246f1986 ci: separate the lint tests from the tests 2023-07-24 14:28:48 -07:00
Amin Yahyaabadi 4e58b250d7 ci: fix placing the built artifacts 2023-07-24 14:11:16 -07:00
Amin Yahyaabadi 697fc17c87 ci: shared build for all the tests - rewrite the CI workflow 2023-07-24 13:59:56 -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 5d4f610be3 chore: v0.33.0 [skip test] 2023-07-24 12:42:23 -07:00
Amin Yahyaabadi 623beb0a25 feat: add Mingw docker images and test them 2023-07-20 02:59:37 -07:00
abeimler 5ea2c0f2ed Merge branch 'feature/cross-mingw' of https://github.com/abeimler/setup-cpp into feature/cross-mingw 2023-07-19 23:40:18 +02:00
Amin Yahyaabadi 3d4b6fce65 chore: v0.32.1 [skip test] 2023-07-17 23:02:37 -07:00
Amin Yahyaabadi b22365e2f1 chore: v0.32.0 [skip test] 2023-07-17 21:34:13 -07:00
Amin Yahyaabadi f829c0abcc Merge branch 'master' into llvm-system 2023-07-17 10:01:15 -07:00
Amin Yahyaabadi 1c504abace chore: v0.31.1 [skip test] 2023-07-17 00:05:58 -07:00
Amin Yahyaabadi 70a091c663 feat: support installing llvm via apt on Ubuntu 2023-07-15 21:46:28 -07:00
Amin Yahyaabadi ac552e8604 chore: v0.31.0 [skip test] 2023-07-15 19:23:12 -07:00
Amin Yahyaabadi cd31ee43de feat: add production docker images and generate tests 2023-07-15 18:09:24 -07:00
Amin Yahyaabadi d2fe82a0d2 fix: fix docker base name 2023-07-15 15:50:55 -07:00
Amin Yahyaabadi b2cf91c9df fix: use node 20 instead of node 18 2023-07-15 15:41:58 -07:00
Amin Yahyaabadi a9ef9e1ef4 fix: use node 12 as the main target 2023-07-15 15:31:34 -07:00
Amin Yahyaabadi f7f2d14ebb Merge branch 'master' into pr/164 2023-07-15 14:33:06 -07:00
Amin Yahyaabadi 9292ace132 chore: v0.30.1 [skip test] 2023-07-06 15:57:48 -07:00
Amin Yahyaabadi 381ebd4e56 chore: v0.30.0 [skip test] 2023-07-04 13:18:17 -07:00
Amin Yahyaabadi 967d1f8c3d chore: v0.29.0 [skip test] 2023-06-29 15:32:55 -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 95a1362194 chore: reduce the package size [skip ci] 2023-05-26 13:20:42 -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 74d03fc954 chore: v0.28.0 [skip test] 2023-05-25 00:41:03 -07:00
Amin Yahyaabadi c0015e2984 fix: fix pack.exe's file extension 2023-05-25 00:17:16 -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 6c19b13d80 fix: downgrade update-notifier to 5.1.0 2023-05-24 22:05:54 -07:00
Amin Yahyaabadi 67e7d24a8b feat: check for the setup-cpp updates and notify 2023-05-24 22:05:44 -07:00
Amin Yahyaabadi 6e6418d7b6 chore: v0.27.1 [skip test] 2023-05-24 19:04:09 -07:00
Amin Yahyaabadi d60cc6ac6f fix: update dependencies 2023-05-24 16:45:05 -07:00
Amin Yahyaabadi 615b5f70a4 chore: v0.27.0 2023-05-24 11:31:29 -07:00
abeimler 4fc7c95a44 Merge branch 'master' into fix/update-node 2023-04-23 15:42:46 +02: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 7052a18b1c Merge branch 'master' into esm 2023-04-23 01:03:19 -07:00
Amin Yahyaabadi e0367b710b feat: transform node_prefix using babel 2023-04-23 00:53:36 -07:00
Amin Yahyaabadi f36323172f fix: remove node: prefix from the build 2023-04-22 03:03:35 -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 d713a6703d fix: update execa 2023-04-22 02:19:33 -07:00
Amin Yahyaabadi bb21d92dc3 Merge branch 'master' into pr/164 2023-04-21 12:03:23 -07:00
Amin Yahyaabadi 7b993ab70d fix: update setup-python and other deps 2023-04-21 11:38:35 -07:00
abeimler b61116bffa feat: add pnpm and build stage in docker files 2023-04-17 11:20:21 +02:00
Amin Yahyaabadi 7c782cd66a fix: update dependencies 2023-04-14 01:15:14 -07:00
abeimler a1aead3082 ci: add node 12 2023-04-06 17:34:55 +02:00
abeimler 4d028e9368 ci: fix dist build 2023-04-06 15:37:51 +02:00
abeimler d9316c0cbc chore: update node
* node12 -> node16
* run npm audit
2023-04-06 14:29:38 +02:00
abeimler b3c586e4d8 Merge branch 'master' into feature/cross-mingw 2023-04-02 01:35:21 +02:00
abeimler a2d7d8fb1b Merge branch 'master' into feature/cross-mingw 2023-04-02 01:32:43 +02: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 d1061ec733 chore: v0.26.2 [skip test] 2023-01-19 20:40:36 -08:00
Amin Yahyaabadi bd09e76247 chore: v0.26.1 [skip test] 2023-01-18 01:31:26 -08:00