Johan Preynat
c6537422a4
Use bun 1.0.30 for now in CI ( #269 )
2024-03-15 11:03:37 +01:00
Greg Bergé
5a5b4bb93c
Replace Puppeteer by Playwright ( #224 )
...
* Replace Puppeteer by Playwright
* Remove the limit of workers on ci
* Various fixes after review
* Document things
2024-03-08 10:41:30 +01:00
Samy Pessé
f41b0c7ba1
Fix crash when resolving ref fails in an OpenAPI file ( #220 )
...
* Fix crash when resolving ref fails in an OpenAPI file
* Use static.gitbook.com for assets prefix
2024-03-06 18:09:34 +01:00
Samy Pessé
887e99c8ed
Archive build output on GitHub Actions
2024-02-28 10:52:41 +01:00
Samy Pessé
05de8109bb
Fix crash for some code blocks with annotations ( #190 )
...
* Start
* Add failing test
* Better handle nested tokens
* Run tests in CI
* Comment
* Fix another case
2024-02-27 11:03:51 +01:00
Samy Pessé
aeeb9b0305
Hide table header when column titles are empty ( #182 )
...
* Hide table header when column titles are empty
* Add test
* Skip downloading puppeteer for some CI jobs
2024-02-22 13:23:56 +01:00
Samy Pessé
b0725eb852
Fix CI deployment config
2024-02-19 16:36:06 +01:00
Samy Pessé
6bd6ddd031
Use an assetPrefix to serve all assets from same URLs ( #172 )
...
* Test an assetPrefix
* Fix condition
* Use the env instead
* Use it for CSP
2024-02-19 16:32:33 +01:00
Samy Pessé
756b5a766f
Setup Sentry for errors ( #110 )
...
* First try
* Lint and format
* Use edge runtime
* Use envs for sentry
* Fix type
* Fix upload of sourcemaps
* Try fixing monitoring calls
* Fix gitbook/monitoring in middleware
* test error in middleware
* Define context on sentry data
* Set SENTRY_ENVIRONMENT to preview or production
* Format
* Pass url and userAgent
* Remove test cases
* Disable debug
* Remove ignoreBuildErrors
2024-01-23 14:36:56 +01:00
Samy Pessé
5f6ca7af56
Hide trademark when disable in customization settings ( #87 )
...
* Hide trademark when disabled in customization
* Fix padding in toc
* Run upload of artifacts when failed
2024-01-07 13:55:01 +01:00
Samy Pessé
46a726f3a8
Fix visual tests being unreliable ( #86 )
...
* Test
* Upload failed tests as artifacts
* Format
2024-01-06 19:11:30 +01:00
Samy Pessé
ca3ab044c3
Improve CI with caching and lint work ( #53 )
...
* Cache next.js build
* Add format and lint job
* Run typecheck
* FIx all TS issues
* Declare modules for images
2023-12-20 16:07:18 +01:00
Samy Pessé
720c2ca909
Setup visual testing ( #50 )
...
* Add cloudflare job to publish pages
* Try like this
* Fix build path
* Try end to end
* Fix installation
* Use var instead of secret for CLOUDFLARE_PROJECT_NAME
* Use new puppeteer mode
* Add more tests
* Run in parallel
* Go back to no-concurrency
* Test pagespeed
* Print output
* Fix thresholds
2023-12-19 23:51:06 +01:00
Samy Pessé
a4ae7140f2
Remove GitHub actions staging workflow
2023-12-12 19:23:23 +01:00
Samy Pessé
b8af0cb4af
Second try with staging git workflow
2023-11-27 16:06:29 +01:00
Samy Pessé
b2b2a8c23c
Automatically update the staging branch from main using a GH action
2023-11-27 16:03:30 +01:00