Commit graph

178 commits

Author SHA1 Message Date
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
2678264f51
ci: correctly update comment in action (#6397) 2023-03-01 16:23:24 +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
4d75396362
enable ci for merge_group (#6361) 2023-02-24 13:57:02 -06: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
d8d885a226
Fix legacy branch name in the release action (#5760) 2023-01-04 16:23:45 -05:00
Nate Moore
2a90217490
chore(ci): skip OG images in smoke test (#5757)
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-04 15:17:18 -06:00
Matthew Phillips
cfa429efb6
Setup changesets to backport to 1.0 legacy branch (#5758)
* Setup changesets to backport to 1.0 legacy branch

* Only make the workflow change

* Both main and legacy branches
2023-01-04 16:16:43 -05:00
Bjorn Lu
c2844a79c8
Fix docs smoke error (#5706)
Co-authored-by: bholmesdev <hey@bholmes.dev>
2023-01-02 21:31:51 +08: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
Nate Moore
f47fb995c0
chore(ci): add timeout to all ci jobs (#5374)
Co-authored-by: Nate Moore <nate@astro.build>
2022-11-11 13:09:01 -06:00
Michael Rienstra
2f8c9a98cc
ci: fix prettier arg (#5263) 2022-11-01 14:29:31 +08:00
Michael Rienstra
0e043bb287
Remove shamefully-hoist from docs smoke test (#5193) 2022-10-31 14:43:04 +08: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
468aa3f308
Fix mergability check (#5237)
* Fix mergability check

* owner + repo

* Properly handle result
2022-10-28 11:39:01 -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
Erika
f604ef6c69
Run astro check on all examples in CI (#5022)
* Run astro check on all examples in CI

* Output stderr

* Build Astro before running checks

* Making things faster + colors

* Fix errors inside examples

* Add congrats message

* Revert unentional change to tsconfigs

* Remove more unneeded changes
2022-10-12 09:48:29 -03:00
Robin Lindner
5bbe385b21
Improve test infrastructure for integrations/deno (#5005)
* Improve test infrastructure for integrations/deno

* Add changeset

* Use declared type

* Remove changeset

* Upgrade deno version in -workflow
2022-10-07 09:36:24 -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
Bjorn Lu
812658ad2a
Remove shamefully-hoist (#4842) 2022-09-28 23:13:33 +08:00
Matthew Phillips
5546c86868
Add action to check if PR can be merged (#4848)
* Add action to check if PR can be merged

* Add the "semver minor" label

* Only apply the block if not already done so
2022-09-23 11:13:03 -04:00
Erika
e9eb4d1f3d
Fix ESLint not working in CI (#4837)
* Update ESLint extensions

* Use fredkbot

* Only use fredkbot for the commit

* Disable autofix

* Fix lint error
2022-09-22 11:37:41 -04:00
Fred K. Schott
dc05bc04b1
Capture stderr in snapshot-release github action (#4747)
* Update snapshot-release.yml

* Update snapshot-release.yml

* Update snapshot-release.yml
2022-09-13 14:56:16 -07:00
Fred K. Schott
e73d2d14c6
Update snapshot-release.yml 2022-09-13 14:43:53 -07:00
Tony Sullivan
38eec3a56a
enabling the publish step for snapshot releases (#4746) 2022-09-13 21:07:32 +00:00
Tony Sullivan
638dac9c79
fix: typo in snapshot ref checkout (#4745) 2022-09-13 20:56:36 +00:00
Tony Sullivan
fa89c71e98
resolving PR refs in snapshot release action (#4744) 2022-09-13 20:48:39 +00:00
Fred K. Schott
49006da077
Update snapshot-release.yml 2022-09-12 14:43:45 -07:00
Fred K. Schott
9558e2c810
Update snapshot-release.yml 2022-09-12 14:34:50 -07:00
Fred K. Schott
05778251db
Update snapshot-release.yml 2022-09-12 14:30:58 -07:00
Fred K. Schott
8031ef8039
Update snapshot-release.yml 2022-09-12 14:25:01 -07:00
Fred K. Schott
c58d962dfa
Add a new preview release action (#4483)
* add a new preview release action

* Update snapshot-release.yml (#4485)

* small fixes

* Update snapshot-release.yml

Co-authored-by: Mayank <9084735+mayank99@users.noreply.github.com>
2022-09-12 14:21:20 -07:00
Fred K. Schott
b1cad77fa1
ci-fix (#4280) 2022-08-11 23:00:38 -07:00
Nate Moore
e65c772678
Update ci.yml (#4271) 2022-08-11 13:44:07 -05:00
Nate Moore
51847a276f
Do not cancel-in-progress on main (#4253)
* chore(ci): do not cancel-in-progress on main

* still cancels?

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-10 17:25:22 -05:00
Nate Moore
20fd767234 Revert "debug ci"
This reverts commit c0caf7e353.
2022-08-10 16:34:01 -05:00
Nate Moore
c0caf7e353 debug ci 2022-08-10 16:33:35 -05:00
Matthew Phillips
6bc2cbe5e9
Add Windows back to smoke tests (#4202) 2022-08-08 15:35:58 -04:00
Fred K. Schott
778a4d2af1
update test coverage to include more Node and Windows tests (#4144)
* update node test coverage to include v18, more windows tests

* chore(ci): update turbo to account for OS and NODE_VERSION

* chore: disable node@18, add TODO

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-05 15:14:19 -05:00
Ben Holmes
91e051dc62
temp: pull astro.build from smoke (#3975) 2022-07-19 13:11:40 -04:00
Ben Holmes
aa06fd9f9a
[Smoke] Add docs and astro.build to smoke test (#3941)
* feat: add docs and astrobuild to checkout

* fix: checkout external repos after main

* wip: build each external repo separately?

* Revert "wip: build each external repo separately?"

This reverts commit 042a3b2a8b33cfcff1622c2002bdfa43a5532ea8.

* fix: move checkout to smoke/

* chore: add react to peer dep ignores for CI
2022-07-18 16:00:00 -04:00
Nate Moore
93e1020b1e
Fix: reintroduce smoke tests across example projects (#3669)
* chore: update smoke tests

* chore: bump smoke tests to node@16

* chore: remove gitmodules

* chore(ci): prefer node@14

* wip: remove path from smoke clone step

* feat: run build:examples from test:smoke

* fix: remove no-frozen-lockfile

* fix: checkout monorepo last for pnpm setup

* wip: replace @astrojs/markdown/remark import from md

* fix: remove type defs from generated file

* fix: function order

* chore: remove ssr-utils export

* wip: remove windows from smoke test

* fix: instantiate slugger in snippet

* fix: exclude with-mdx from smoke (for now)

* fix: add quotes on filter flag for safety

* chore: changeset

* wip: try reintroducing windows smoke

* sad chore: remove client: directive from with-mdx

* Revert "wip: try reintroducing windows smoke"

This reverts commit 9529b1a45c.

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-07-11 22:51:17 -04:00