Commit graph

242 commits

Author SHA1 Message Date
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
Chris Swithinbank
b48c18e605
Docs process tweaks: update PR template & CODEOWNERS (#4591)
Co-authored-by: Dan Jutan <danjutan@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-09-02 18:39:42 +02: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
Nate Moore
821074fcb5
Update ---01-bug-report.yml (#4199) 2022-08-08 12:08:35 -05: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
Chris Swithinbank
31f9c0bf02
Roll back supported Node engines (#3937)
Fixes #3936
2022-07-15 08:15:04 -04:00
Randall
b487679853
Rollback Nodejs Dependancy (#3914)
* Rollback Nodejs Dependancy

Closes #3908

Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>

* Create ninety-apes-talk.md
2022-07-13 17:06:37 -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
Nate Moore
1cc5b78905
fix(#3071): update supported node versions (#3871)
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-11 11:32:53 -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
bholmesdev
855b1daba9 Revert "chore: remove memory test from ci"
This reverts commit 3f79a6e73f.
2022-06-28 10:06:02 -04:00
bholmesdev
3f79a6e73f chore: remove memory test from ci 2022-06-28 10:00:33 -04:00
Fred K. Schott
7ef4efac67 add fredkbot to author of format commit 2022-06-27 11:32:24 -07:00
Fred K. Schott
dee7d62962
Update format.yml 2022-06-27 11:11:19 -07:00
Fred K. Schott
35da5bd93e
add fredkbot for push access (#3730) 2022-06-27 11:02:44 -07:00
Tony Sullivan
b8c6dabfb7
Enables eslint on the full repo and adds a rule for no only() tests (#3659)
* enabling eslint on the all packages and tests

* enabling for all packages

* TEMP: adding an only() test to verify it fails CI

* using our eslint config and ignore in CI

* removing the temporary .only() test

* update lock file

* lint: fixing new test with a no-shadow warning

* chore: update lock file
2022-06-22 15:59:49 +00:00
Fred K. Schott
5b06398b7b
format: automatically organize imports and removed unused (#3499)
* add import formatting

* chore: update lockfile

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-06-06 09:47:28 -07:00
Nate Moore
e9a77d8619
Improve nested and client:only hydration (#3455)
* wip: fix nested islands

* fix: improve hydration for dynamic content

* chore: fix bundle-size script for new files

* chore: allow-list client:* directive files

* fix(#3362): fix client:only behavior for React, Vue, Solid

* test: add client-only e2e test

* chore: update lockfile

* test: fix e2e tests

* test: add framework nesting e2e tests

* Update packages/astro/src/runtime/client/events.ts

Co-authored-by: Matthew Phillips <matthew@skypack.dev>

* chore: add changeset

* fix(preact): ignore hydrate roots

* chore: remove `ssr` check in integrations

* Revert "chore: remove `ssr` check in integrations"

This reverts commit ba27eaae55.

* chore: add changeset

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-05-31 11:29:36 -05:00
Nate Moore
2f4ee560dd
Add bundle-size check action (#3454)
* feat: add scripts action, bundle-size checker

* chore: trigger action

* fix: update prefix logic
2022-05-26 11:49:29 -05:00
Pranav Karawale
63c26c1b24
Fix GitHub Issue creation link (closes #3257) (#3421)
* Add IDs to bug report issue form
* Replace 'body' with correct input id for prefilling form
2022-05-23 11:02:03 -05:00
Tony Sullivan
2b622b5e0f
Adding E2E testing with Playwright (#3349)
* adding Tailwind E2E tests with Playwright

* package.json updates

* adding e2e tests to CI workflow

* using e2e for dev tests, mocha for build tests

* refactor: sharing test-utils helpers

* chore: update lockfile

* Adding contributing docs

* Revert "refactor: sharing test-utils helpers"

This reverts commit 48496f43bc99eab30747baf6e83041ba4932e786.

* refactor: simpler solution to resolving e2e test fixtures

* chore: updating lockfile

* refactor: cleaning up how URLs are resolved in e2e tests

* install playwright deps in CI

* trying pnpm playwright install to fix version mismatch
2022-05-15 21:47:28 +00:00
Fred K. Schott
9ef92e0a3d [ci] update github labeler 2022-05-10 16:48:45 -06:00
Fred K. Schott
d67096ac0f [ci] update github labeler 2022-05-10 16:44:41 -06:00
hippotastic
d825d376f8
fix: make congratsbot link to actual commit (#3292) 2022-05-04 11:36:30 -07:00
Matthew Phillips
f76038ac7d
Telemetry (#3256)
* feat: add @astrojs/telemetry

* feat: add telemetry events, add queueing system

* feat(telemetry): record CLI events

* chore: add note

* feat: support generic TELEMETRY_DISABLED env var

* Fix test script

* shim telemetry in tests

* Shim telemetry in other commands

* Stub telemetry in the memory leak test

* Disable telemetry in smoke tests

* Adds a changeset

* Run the formatter

* few updates

* Include config keys

* Add shallow viteKeys array:
:

* Add vite keys and tests

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-03 09:07:28 -04:00
Fred K. Schott
771127ea29
remove unused renderers (#3063) 2022-04-11 11:19:41 -07:00
Fred K. Schott
d49ba49b6a add adapter question to issue template 2022-04-10 22:13:49 -07:00