Emanuele Stoppa
c1ca84a8c1
ci: add workflow dispatch ( #6386 )
2023-03-01 14:02:35 +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
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
Bjorn Lu
c2844a79c8
Fix docs smoke error ( #5706 )
...
Co-authored-by: bholmesdev <hey@bholmes.dev>
2023-01-02 21:31:51 +08: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
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
Bjorn Lu
812658ad2a
Remove shamefully-hoist ( #4842 )
2022-09-28 23:13:33 +08: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
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
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
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
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
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
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
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
Matthew Phillips
13b271bc7d
Deno adapter ( #2934 )
...
* Bundle everything, commit 1
* Get everything working
* Remove dependency on readable-stream
* Adds a changeset
* Fix ts errors
* Use the node logger in tests
* Callback the logger when done writing
* Fix test helper to await the callback
* Use serialize-javascript again
* Remove dead code
* Rename hook
* Oops
2022-03-30 08:42:19 -04:00
Fred K. Schott
7943334e01
update ci to fix congratsbot
2022-03-21 15:55:31 -07:00
Nate Moore
9219d5e1c0
Release bot ( #2836 )
...
* fix(ci): improve release-bot message by dynamically generating packageMap
* fix(ci): update changeset to refresh lockfile after version
2022-03-19 10:33:24 -07:00
Fred K. Schott
6386c14d00
Astro Integration System ( #2820 )
...
* update examples
* add initial integrations
* update tests
* update astro
* update ci
* get final tests working
* update injectelement todo
* update ben code review
* respond to final code review feedback
2022-03-18 15:35:45 -07:00
Fred K. Schott
c9d84af6b1
run tests on example change ( #2745 )
2022-03-09 16:25:44 -06:00
Juan Martín Seery
c5361a131d
chore: update actions ( #2738 )
...
* upgraded workflow actions
* removed unnecessary envs + some formatting
* removed extra instruction
* bumped pnpm version
2022-03-09 13:12:12 -03:00
Nate Moore
d08ddaf5b9
Move from yarn to pnpm ( #2455 )
...
* chore: `yarn` => `pnpm`
* docs: `yarn` => `pnpm`
* chore(ci): yarn => pnpm
* chore(ci): update pnpm cache path
* fix: add missing deps
* fix: add missing deps
* test: add package.json to all test fixtures
* chore: improve hoisting behavior
* chore: move turbo into package.json
* chore: update npmrc
* fix: add missing `debug` dependency
* chore: remove prepare script
* test: fix new tests
* fix: fully resolve renderer paths and `astro/internal` path
* chore: update lockfile
* chore: remove log
* fix: resolve renderers in vite-plugin-jsx
* fix: prefer public-hoist-pattern to shamefully-hoist
* chore: ignore @babel/core peer warning
* chore: update dependencies
* test: add autoprefixer as explicit dep
* chore: update `.npmrc` file in examples
* chore: update dependencies
* fix: resolve renderer dependencies in static build
* fix: static build renderer resolution
* chore: fix smoke tests
* chore: hoist autoprefixer
* chore: update lockfile
* attempt: use full file:// path on Windows
* attempt: use astro/internal
* attempt: optimize astro/internal
* attempt: expose ./internal.js
* chore: add missing package.json files
* attempt: resolve astro/internal path
* chore: tidy package.json
* chore: update lockfile
* chore: update deps
* chore: update deps
* chore: yarn -> pnpm
* attempt: explicit /@fs urls
* attempt: explicit /@fs urls
* chore: update all examples for pnpm
* chore: fix hoisting for with-vite-plugin-pwa
* chore(ci): fix sharp install
* chore: update with-vite-plugin-pwa example
* fix: pin vite-plugin-pwa to 0.11.11
* fix: add workbox-window to vite-plugin-pwa deps
* refactor: use pnpm update --recursive
Co-authored-by: JuanM04 <me@juanm04.com>
* chore: yarn => pnpm
* chore: yarn => pnpm
* fix: update smoke test to skip examples which don't work in static build
* update lockfile
* chore: update .npmrc files
* chore: update lockfile
* fix: smoke script
* chore: update .npmrc file
* fix: return to shamefully-hoist (shamefully)
* chore: update lockfile
* fix(smoke): ignore scripts for smoke tests
* fix: update example to disable renderers
* chore: bump version
* chore(ci): fix smoke tests
* attempt: disable --frozen-lockfile for smoke tests
* chore: update smoke test
* chore: fix rebase issue
* chore: update lockfile
* fix: smoke tests
* fix(ci): run external smoke tests first
* fix(ci): run syntax
* chore: update lockfile
* fix(ci): ensure submodules are up-to-date
* fix(ci): ensure submodules are up-to-date
* chore: update lockfile
* chore: update for webapi
* chore: silence node:* warnings
* chore: update deps
* fix(ci): persist generated webapi assets
* fix(ci): webapi build script
* chore(ci): remove custom node caching
* chore: keep turbo.json
* chore: update turbo, ignore create-astro
* chore: update deps
* fix(ci): test command
* chore(ci): update test script
Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-08 15:46:11 -06:00
Nate Moore
1aa4b49fdd
fix(ci): open changesets from next
2022-03-04 15:50:30 -06:00
Nate Moore
33193f9ac6
fix(ci): prevent double CI runs on next
branch
2022-03-04 15:39:11 -06:00
Nate Moore
b90219ceec
chore(ci): enable ci on next
( #2716 )
2022-03-04 11:17:25 -06:00
Nate Moore
2482fe70b9
Refactor smoke tests to use submodules ( #2702 )
...
* chore: delete inlined repos
* refactor: move smoke tests to submodules
* chore: remove smoke sync action
* chore: update ci to fetch submodules for smoke test only
* chore: fix ci script
* feat: delete inlined smoke tests
* fix: update lockfile to exclude smoke tests
* chore(ci): ensure smoke tests can pass in CI
2022-03-02 16:08:42 -06:00
Fred K. Schott
9ec8980bd2
fix failing format command in CI ( #2696 )
...
* fix failing format command in CI
* adds a check to formatting to ci
* ignore the prettier plugin for now
* update smoke to remove prettier plugin
2022-03-01 11:59:06 -08:00
Fred K. Schott
6edf47a890
improve memory leak test ( #2621 )
2022-02-18 17:08:28 -08:00
Nate Moore
37d4dd8d57
Improve smoke tests ( #2617 )
...
* chore(ci): improve smoke tests
* chore: skip www test
2022-02-18 15:40:03 -06:00
Matthew Phillips
23783648b6
Adds memory leak test in CI ( #2616 )
...
* Add a memory leak test
* Add memory leak smoke test to CI
* Update the latest compiler
* Update yarn.lock
* Remove entries optimization
* Calculate as 5% higher
2022-02-18 14:23:47 -06:00
Jonathan Neal
a911d14eab
Remove docs from monorepo ( #2517 )
...
* Remove docs from monorepo
* Update PULL_REQUEST_TEMPLATE.md
* Update relative doc references with links or todo
2022-02-07 13:39:53 -05:00