0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
Commit graph

299 commits

Author SHA1 Message Date
Erika
51a4ea5f72
fix(types): Fixes HTMLAttribute extend to allow everything (#10561)
* fix(types): Fixes HTMLAttribute extend to allow everything

* nit: add types.d.ts file to the list of file to run astrocheck for

* nit: do it some other way
2024-03-26 14:46:02 +01:00
Arsh
fda2a800e0
chore: test with latest minor versions of node (#10526) 2024-03-22 10:53:18 +08:00
Bjorn Lu
8dceb5eb36
Fix check example CI fail (#10415) 2024-03-13 17:35:33 +08:00
Bjorn Lu
03f79f005e
Fix check-merge workflow on PRs from forks (#10366) 2024-03-08 16:21:33 +08:00
Fred K. Schott
f2e60a9675
Revert bad release (#10336)
* Revert "[ci] release (#10332)"

This reverts commit dd3935b31c.

* Revert "[ci] set `--tag` on release (#10323)"

This reverts commit 50215ae731.
2024-03-05 16:47:15 -08:00
Nate Moore
50215ae731
[ci] set --tag on release (#10323)
* chore(ci): set --tag on release

* chore: revert deletion

* fix: ignore job on forks
2024-03-05 16:43:24 -06:00
Martin Trapp
3df811a3bd
Updates deprecated Node.js 16 github actions (#10270) 2024-02-29 12:49:07 +08:00
Erika
1eadb1c529
fix(toolbar): Make it so every built-in app can be closed by outside clicks (#10220)
* fix(toolbar): Make it so every built-in app can be closed by outside clicks

* chore: changeset

* test: add tests

* test: fix test

* ci: don't run bundle-size on dev-toolba
2024-02-26 13:38:19 +00:00
Emanuele Stoppa
7fab7fd8c6
ci: fix formatting (#10210) 2024-02-23 09:50:10 +00:00
Emanuele Stoppa
891c26e92f
ci: fix regression of the commands (#10182) 2024-02-21 14:35:21 +00:00
Erika
6884b103c8
feat(audits): Add initial perf audits (#10015)
* feat(audits): Add initial perf audits

* feat(audits): Setup dev astro-island

* fix(audits): Don't take scroll into account when getting an element's position

* nit: lint

* Fix tests

* chore: changeset

* maybe: Move this.hydrator outside the perf check

* Update packages/astro/e2e/dev-toolbar.test.js

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

* address feedback

* address feedback

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-14 14:01:53 +01:00
Emanuele Stoppa
79e832f8e4
revert: labeler action to v4, the old configuration isn't valid anymore (#10068) 2024-02-09 11:21:47 +00:00
Bjorn Lu
c3b40bf423
Update workflow actions (#9995) 2024-02-09 14:35:00 +08:00
Nate Moore
440bdff8cc
[ci]: use M1 mac image (#9913) 2024-01-31 14:40:13 -06:00
dependabot[bot]
05f808c1da
chore(deps): bump tj-actions/changed-files from 35 to 41 in /.github/workflows (#9821)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25 12:35:34 +01:00
Nate Moore
5e466ef499
Fix release announcement script (again) (#9800) 2024-01-23 16:25:10 -06:00
Nate Moore
e6c0fa5c33
chore(ci): fix release announcement script (#9796) 2024-01-23 15:28:28 -06:00
Nate Moore
ff3f9a538a
Update check-merge action (#9682) 2024-01-12 11:38:07 -06:00
Nate Moore
ff9bd708ae
Fix Discord release message (#9626)
* Fix Discord release message

* chore: simplify discord webhook handling
2024-01-08 13:09:53 +00:00
Mati
1099c6412b
Patch set-output deprecation in workflows (#9543) 2024-01-03 14:20:38 +08:00
Arsh
5b4e41a86f
chore(ci): remove integrations from docs smoke test (#9498) 2023-12-22 04:35:01 +05:30
Bjorn Lu
d34dc2c337
Enable releasing from 3-legacy branch (#9245) 2023-11-30 22:22:03 +08:00
Alexander Niebuhr
e3c18be5d0
fix: snapshot release main branch not found (#8885) 2023-10-23 16:03:02 +00:00
Alexander Niebuhr
d5dc5ce04a
fix: snapshot release workflow (#8884) 2023-10-21 13:52:50 -05:00
Nate Moore
144815c6ff
[ci] Update !preview response (#8872)
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-10-20 13:03:48 -05:00
Arsh
c071458257
chore: removed adapters cleanup (#8726)
* update ci, readme, comments, remote workspaces

* fix hosted test fixture

* keep adapter config typedocs
2023-10-10 19:36:35 +05:30
Bjorn Lu
33d0be50be
Fix snapshot release permissions (#8777) 2023-10-09 20:47:06 +08:00
Matthew Phillips
2262814a92 Give snapshot releases the issues: write permission 2023-10-06 16:11:29 -04:00
Matthew Phillips
f9131003d7 Give the snapshot release the right permissions 2023-10-06 16:00:29 -04:00
Matthew Phillips
d51cf5e707 Snapshot release: prevent setting output 2023-10-06 15:50:36 -04:00
Matthew Phillips
e5e6cf16eb Add debugging information on preview releases 2023-10-05 14:14:05 -04:00
Matthew Phillips
41f93e0ccb Print the publish output when it fails 2023-10-05 13:58:03 -04:00
Bjorn Lu
4e5cafa5d2
Fix git tag release (#8752) 2023-10-05 18:45:41 +08:00
Bjorn Lu
ec82e73efa
Fix provenance release (#8749) 2023-10-05 18:29:36 +08:00
Arsh
23e7b259eb
chore(ci): pin CI Node version to 18.17.1 (#8693)
* chore(ci): pin E2E Node version to 18.17.1

* pin for the "test" as well

* ...for windows, not ubuntu

* ...for windows, not macos
2023-09-28 20:49:45 +05:30
Bjorn Lu
1ed21d10db
Clear caches older than 5 days (#8494) 2023-09-11 20:05:17 +08:00
Matthew Phillips
fa826f84b2
Temporarily pin Node 20 version in CI (#8431) 2023-09-06 09:33:00 -04:00
Matthew Phillips
e7f872e91e
Prevent ViewTransition script from being added by mistake (#8268) (#8270)
* Prevent ViewTransition script from being added by mistake

* Add the 2-legacy branch to CI
2023-08-29 14:00:47 -04:00
Erika
d0679a666f Remove support for Node 16 (#7780) 2023-08-08 11:01:33 +01:00
Emanuele Stoppa
9ad0d326f9
ci: enable codegen errors job (#7961) 2023-08-04 16:54:11 +01:00
Bjorn Lu
8ea6b6dedf
Add timeout for check CI (#7963) 2023-08-04 23:01:44 +08:00
Emanuele Stoppa
f844238c9b
feat: break down AstroErrorData in multiple objects (#7949) 2023-08-04 14:57:19 +01:00
Bjorn Lu
886965d354
Setup cleanup cache workflow (#7900) 2023-08-01 22:53:48 +08:00
Emanuele Stoppa
d495235d0f
ci: enable pre releases for Astro 3.0 (#7884) 2023-07-31 17:18:22 +01:00
Chris Swithinbank
a3d36a8894
Fix Astro pride emoji in congrats message (#7764) 2023-07-22 00:21:11 +02:00
Erika
471324b0a3
test: add setup for Vercel / Netlify tests (#7716)
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-07-21 21:24:36 +02:00
Nate Moore
6ad4672ef1
fix(ci): fix action needs-repro action (#7690) 2023-07-17 14:53:51 -05:00
Nate Moore
474ea808e7
fix(ci): handle needs labels properly (#7689) 2023-07-17 14:48:24 -05:00
Nate Moore
b1005af705
Update Action labels (#7688)
* chore: update action labels

* chore: add label actions
2023-07-17 14:14:33 -05:00
Emanuele Stoppa
4c93bd8154
feat(@astrojs/netlify): edge middleware support (#7632)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-07-17 15:53:10 +01:00
Bjorn Lu
b30a1bc2b8
Update turbo cache flow (#7631) 2023-07-13 12:51:01 +08:00
Fred K. Schott
756c3ea0de
Update benchmark.yml 2023-07-05 21:37:28 -07:00
Bjorn Lu
7419bb6cf2
Fix CI lint command (#7554) 2023-07-03 14:55:02 +01:00
Josh Goldberg ✨
2fea174303
feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
Chris Swithinbank
e9a0fb502a
Use head repository name for docgen in smoke test (#7512) 2023-06-28 18:13:51 +02:00
Chris Swithinbank
2df9002a56
Run documentation generation as part of docs smoke test (#7495) 2023-06-28 14:20:32 +02:00
Chris Swithinbank
8821f05048
Don’t post Discord congrats for auto-formatter commits (#7502) 2023-06-27 10:58:57 -05:00
Chris Swithinbank
dfa70357d3
Update congrats workflow for latest version (#7457) 2023-06-23 11:32:48 +02:00
Nate Moore
8642912120
Cleanup GitHub Actions (#7451)
* chore(ci): cleanup GitHub Actions

* Update .github/workflows/format.yml
2023-06-22 15:42:17 -05:00
Emanuele Stoppa
b9b57d901d
ci: don't run workflow for ISSUE_TEMPLATE (#7433) 2023-06-20 20:37:04 +01:00
Arsh
d67ae84610
Node built-in modules support for Deno adapter (#7288)
* feature(deno adapter): allow built-in node modules

* Add changeset

* format
2023-06-15 10:20:35 -04:00
Nate Moore
408be72d1d
Fix duplicate semver minor blocks (#7269)
* chore(action): fix duplicate blocks

* chore(action): fix block logic
2023-06-01 13:21:55 -05:00
Nate Moore
c4c086e5e7
Fix semver minor action (#7261)
* Update check-merge.yml

* chore: update action

* chore(action): better check if block exists

* chore(action): update check-merge action
2023-05-31 17:15:14 -05:00
Bjorn Lu
6cbe5e7472
Update lockfile CI (#7105) 2023-05-16 09:35:06 -04:00
Emanuele Stoppa
4f591ce0e4
ci: fix and update check merge workflow (#6987) 2023-05-04 11:31:31 +01:00
Bjorn Lu
383ad80768
Speed up docs smoke tests (#6921) 2023-04-27 21:23:29 +08:00
Bjorn Lu
ec5f6a07ae
Upgrade turbo (#6911) 2023-04-27 11:39:15 +08:00
Bjorn Lu
7544d9bd41
Cleanup CI logs and run windows on node16 only (#6838) 2023-04-19 10:59:09 +02:00
Emanuele Stoppa
32b7158bdb
ci: correctly update comment (#6760)
* ci: correctly update comment

* fix: restore action to change PR status
2023-04-06 10:29:55 -04:00
Emanuele Stoppa
ce37bc77e0
ci: use correct issue number (#6745) 2023-04-04 14:07:05 +01:00
btea
811436d4cb
ci: format add owner judgment (#6542) 2023-03-14 21:57:56 +08: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
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