0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

18 commits

Author SHA1 Message Date
Martin Trapp
3df811a3bd
Updates deprecated Node.js 16 github actions (#10270) 2024-02-29 12:49:07 +08:00
Bjorn Lu
c3b40bf423
Update workflow actions (#9995) 2024-02-09 14:35:00 +08:00
Fred K. Schott
756c3ea0de
Update benchmark.yml 2023-07-05 21:37:28 -07:00
Bjorn Lu
c5bac09a42
Add page render benchmark (#6415) 2023-03-06 22:55:44 +08:00
Emanuele Stoppa
f208b5f897
ci: use one action for comments (#6406)
* ci: use single action for comments

* Update .github/workflows/benchmark.yml

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-03-02 16:10:56 +00:00
Emanuele Stoppa
c1ca84a8c1
ci: add workflow dispatch (#6386) 2023-03-01 14:02:35 +00:00
Bjorn Lu
f4937949d6
Refactor benchmark script (#6376)
* Add timer setting

* Setup benchmark code

* Setup memory benchmark

* Add compare function

* Add result preview

* Setup results preview

* Simplify script for CI

* Update CI

* Cleanup

* Temp remove fork guard

* Fix stuff

* Fix again

* Fix quotes

* Fix multiline output

* Simplify title

* Fix memory numbers

* Remove astro bin dir

* Fix gc

* Add repo guards

* Fix wrong call

* Set max space size

* Remove guard

* Bump memory a bit

* Organize neatly

* Update readme

* Try large md

* Try no gc

* Revert markdown and gc changes

* Test sha

* Try ref

* Try 128mb

* Set 256

* Add guard

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Add docs comment

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-01 08:46:06 +00:00
Nate Moore
098341f17a
ci: don't pin pnpm/action-setup exactly (#6348) 2023-02-24 09:52:43 -06:00
Erika
2f6745019a
Drop Node 14 in CI for Node 16 and add Node 18 to the matrix (#5768)
* ci(node): Move CI to Node 16 and add Node 18 to the matrix

* fix(netlify): Fix set-cookie not working on Node 18

* fix(netlify): Handle if `set-cookie` is already somehow an array (apparently it can?)

* test(node): Fix `toPromise` to match Astro's

* fix(tests): Use the actual underlying ArrayBuffer instance to create the buffer in toPromise

* chore: changeset
2023-01-06 12:01:54 -05:00
Matthew Phillips
3e16022499
bench workflow - use bash as shell (#5546) 2022-12-06 10:19:51 -05:00
Matthew Phillips
7809c5c04b
bench workflow - pipe stderr (#5543) 2022-12-06 09:32:45 -05:00
Matthew Phillips
83fd265950
Revert "GitHub Actions: add install action (#5196)" (#5242)
This reverts commit d7b27a17e3.
2022-10-28 14:36:50 -04:00
Michael Rienstra
d7b27a17e3
GitHub Actions: add install action (#5196)
* GitHub Actions: add install action
to reduce duplication

* debug, temp

* expect strings
add warnings

* minor, consistency

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-10-28 12:40:03 -04:00
Matthew Phillips
35458e6880
Revert "Improved benchmark output (#5077)" (#5081)
* Revert "Improved benchmark output (#5077)"

This reverts commit 9e041f464c.

* Still use raw
2022-10-13 15:53:47 -04:00
Matthew Phillips
9e041f464c
Improved benchmark output (#5077)
* Improved benchmark output

* Show benchmarking table
2022-10-13 15:22:51 -04:00
Matthew Phillips
906ac622ca
Benchmark action: provide the PR number (#4964)
* Testing benchmarking

* Provide the PR number
2022-10-03 16:44:41 -04:00
Matthew Phillips
dbb2dd0e3e
Build packages in the benchmark action (#4962)
* Just a test

* Run the build

* Add turbo stuff
2022-10-03 16:29:56 -04:00
Matthew Phillips
f93625eafe
Run benchmarks on comment (#4960)
* Run benchmarks on !bench command

* Re-enable main
2022-10-03 16:11:20 -04:00