0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

171 commits

Author SHA1 Message Date
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
Nate Moore
1896931931
chore: ignore bundle size check for irrelevant PRs (#3893)
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-11 15:11:01 -05:00
Joaquín Sánchez
c6ba6ec4d9
fix: lint failing on astro and some integrations (#3794)
* fix: lint failing on astro and some integrations

* chore: fix telemetry lint

* chore: fix turbo cache (thx nate)

* chore: fix runtime server
2022-07-07 16:06:44 -05:00
Tony Sullivan
98afed34f1
increase node heap to 4096 during the Format Code workflow (#3796) 2022-07-01 20:04:36 +00:00
Nate Moore
f9290b328a
CI: Prefer per-job cache rather than artifact I/O (#3781)
* chore(ci): prefer per-job cache rather than artifact io

* chore: update cache step

* chore: fix cache key

* chore(ci): build on windows as well

* chore(ci): enable remote cache

* chore: run build on all three platforms

* chore: prefer turbo to custom caching logic

* chore: build AFTER install

* chore: build on node 14

* chore: remove build, parallelize tasks

* chore: update cache

* chore: prime build caches

* chore: fix indentation

* chore(ci): only build on ubuntu

* chore(ci): changelog needs build

* chore(ci): ignore updates to md files

* chore(ci): add 20 min timeout for e2e tests

* chore(ci): enable FORCE_COLOR

* chore: run turbo with `--output-logs=new-only`

Co-authored-by: Nate Moore <nate@astro.build>
2022-06-30 16:26:37 -05:00
Fred K. Schott
bf44b2ab88
Ci: improve times, reduce delay (#3780)
* improve CI times

* improve CI times
2022-06-30 11:21:41 -07:00
Fred K. Schott
4bc6c7ceaa
manual lockfile update (#3751)
* lockfile update

* update lockfile gen script

* Update index.ts
2022-06-29 14:54:40 -07:00
Ben Holmes
660abd3dee
Chore: remove memory test from CI (#3758)
* chore: remove memory test

* chore: remove memory test from ci

* chore: changeset

* Revert "chore: remove memory test"

This reverts commit 31b97c9df9.

* chore: update changeset to say "CI only"

Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2022-06-28 15:47:21 -04:00