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
Nate Moore
b21dd19cb6
chore: remove www ( #2361 )
2022-01-11 12:59:06 -06:00
Fred K. Schott
6cbe79fac4
move changeset to run after build, no test required ( #2341 )
2022-01-10 17:36:41 -05:00
Matthew Phillips
356d81abcb
Turn off prettier in the CI task
2021-12-23 16:16:42 -05:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ ( #2202 )
...
* Support Node v14.15+
* changeset
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* ES2020
* update yarn.lock
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Nate Moore
7a3819cfa9
fix: use ref_name for changeset
2021-12-16 16:48:09 -06:00
Nate Moore
c6928478ae
Update CI to cache node_modules
per OS ( #2210 )
...
* chore(action): update CI to cache node_modules per OS
* fix(ci): run tests on lint fix
* Update ci.yml
2021-12-16 15:38:55 -06:00
Fred K. Schott
a656155629
improve our smoke tests to run on all examples ( #2174 )
...
* improve smoke test
* chore(lint): Prettier fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-13 14:31:18 -08:00
Nate Moore
5258316c4f
Update turbo
cache ( #2184 )
...
* chore(actions): update cache strategy
* chore: force ci
2021-12-13 13:55:35 -06:00
Nate Moore
80c65e9497
Improve turbo cache ( #2178 )
...
* chore(action): regenerate turbo cache
* chore(action): fix build
* chore: add support for [force-ci] option
* [force-ci]
* fix: force-ci support
* [force-ci]
* chore: debug commit message
* chore: debug commit message
* fix: remove force-ci support
* [force-ci]
* chore(actions): fix hash key
* chore(actions): fix hash key?
2021-12-10 00:11:20 -06:00
Nate Moore
16484f603d
Adopt turborepo ( #2167 )
...
* chore: use turbo
* chore(lint): Prettier fix
* chore(actions): fix ci
* chore(actions): add turbo caching
* chore(actions): test turbo caching
* chore: remove test dependency on build
* chore: fix build outputs
* chore(actions): restore tests from cache
* chore(actions): fix turbo cache
* chore(actions): fix turbo cache
* chore(actions): restore turbo after artifacts
* chore(actions): caching is hard
* chore: force ci
* chore(actions): prefer-offline for yarn install
* chore(actions): attempt to cache turbo based on sha
* chore: remove lerna.json
* chore(action): update restore keys
* chore(action): sidestep turbo for windows tests
* chore(action): do not restore unhashed files
* chore(action): fix typo
* chore(action): fix typo
* chore(action): fix typo
* chore(action): fix artifacts paths
* chore(action): sync turbo cache
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 18:11:49 -06:00
Nate Moore
6b0e243b09
chore(actions): update actions
2021-12-07 12:29:30 -06:00
Nate Moore
e0414ac865
Cleanup Actions ( #2088 )
...
* chore: actions cleanup
* chore: make release messages more fun
* chore: fix casing
* chore(lint): Prettier fix
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-02 14:04:11 -06:00
Fred K. Schott
0b2650d713
Update ci.yml ( #2077 )
2021-12-01 21:58:34 -06:00
Nate Moore
c6b5909b93
chore(action): fix changeset action
2021-11-29 15:36:46 -06:00
Nate Moore
6f77acc07b
chore(actions): fix changeset
2021-11-29 15:23:08 -06:00
Nate Moore
4067151aec
Improve GitHub Actions ( #2041 )
...
* chore(actions): test new CI action
* chore(actions): switch action order
* chore(actions): update registry
* chore(actions): remove debug
* chore(actions): target all packages
* chore(actions): test artifacts
* chore(actions): try moving artifacts
* chore(actions): test moving
* chore(actions): test tar approach
* chore(actions): test tar approach
* chore(actions): use artifacts/packages before tar
* chore(actions): test mv -vn
* chore(actions): mkdir first
* chore(actions): how does tar work?
* chore(actions): so good at bash
* chore(actions): test matrix
* chore(actions): fix test matrix
* chore(actions): fix windows?
* chore(actions): fix windows?
* chore(actions): fix windows!
* chore(actions): fix windows!
* chore(actions): add lint
* chore(actions): add back old actions
* chore(actions): test notification action
* chore(actions): test notification action again
* chore(actions): fix extract action
* chore(actions): fix action?
* chore(actions): fix action?
* chore(actions): fix newlines
* chore(actions): test --production flag
* chore(actions): test --production flag for test
* chore(actions): add execa to production deps
* chore(actions): add cheerio to production deps
* chore(actions): add production deps for tested examples
* chore(actions): fix changelog action
* chore(actions): attempt to use --prefer-offline
* chore(actions): revert dependencies/devDependencies change
* chore(actions): update all actions
* chore(actions): add smoke test
* chore(actions): update changelog deps
* chore(actions): move notify script
* chore(actions): consolidate main scripts
* chore(actions): update changelog name
* chore(actions): update congratsbot
* chore(actions): update ci
* chore(actions): change lint/format strategy
* chore(actions): expose GITHUB_TOKEN to linter
* chore(actions): update lint
* chore(actions): enable autofix
* chore(actions): fetch-depth 0
* chore(actions): fix eslint extensions
* chore(actions): debug lint
* chore(actions): fix eslint args
* chore(actions): fix eslint?
* [ci] ESLint fix
* [ci] Prettier fix
* chore(actions): fix lint!
* chore(actions): cleanup comments
* chore(actions): fix lint
* chore(actions): lint astro only
* chore(actions): ignore pattern
* chore(actions): no_verify
* chore(actions): disable no verify
* chore(actions): debug status
* chore(actions): add concurrency
* chore(actions): add comment about concurrency
* chore(actions): make release dependent on lint
* chore(actions): move lint first
* chore(actions): run CI on PR or `main` only
* chore(actions): remove GPR publish step
* chore: add back old actions
* chore: revert package.json
* chore: improve changelog with GitHub info
* chore(actions): try pull_request_target
* debug lint
* debug lint
* debug lint
* try pull_request_target
* update pull_request_target perms
* update pull_request_target
* fix perms
* fix run?
* fix run?
* fix run? (part 3)
* fix run? (part 4)
* fix run? (part 5)
* fix run!
* fix run!!
* fix run!!!
* fix run!!!!
* fix run!!!!!
* fix run!!!!!!
* add comment about forks
Co-authored-by: GitHub Actions <actions-user@github.com>
2021-11-29 15:11:15 -06:00
Drew Powers
5e0cb796a6
Enable macOS tests ( #1774 )
...
* Enable macOS tests
* Fix macOS tests
2021-11-11 10:24:48 -07:00