Closed serhalp closed 1 month ago
File | Before (Size / Gzip) | After (Size / Gzip) |
---|---|---|
dist/esm-chunks/package-4GFWM3PF.js |
3.6 kB / 1.4 kB |
— |
dist/esm-chunks/package-LZDYFBUF.js |
— | 3.6 kB / 1.4 kB |
package.json |
3.2 kB / 1.1 kB |
1%↑3.2 kB / 1%↑1.2 kB |
Total (Includes all files) | 5.3 MB / 959.3 kB |
0%↑5.3 MB / 0%↑959.3 kB |
Tarball size | 912.2 kB |
0%↑912.3 kB |
🤖 This report was automatically generated by pkg-size-action
Ubuntu 24.04 (now ubuntu-latest) has removed the
netlify
CLI :(We were installing it manually in some CI workflows, but not the e2e report one, which started failing.
This fixes that by reviving https://github.com/netlify/next-runtime/pull/2484, i.e. using netlify-cli as a dev dep everywhere. In cases where we're running a test fixture in another working directory, I've added a CI step that sort of "promotes" the dev dep to a global dep. It's a bit funny but I think it's a good compromise. Now netlify-cli is entirely controlled via package.json and can receive deterministic updates via Renovate like anything else.
Supersedes https://github.com/netlify/next-runtime/pull/2484.