Adapt code to pull token from customer backend generated custom cookies #1808
ci.yaml
on: pull_request
Deploy to Cloudflare Pages
2m 34s
Format
17s
Lint
22s
Test
22s
Build (Open Source)
1m 43s
Typecheck
37s
Annotations
3 errors and 9 warnings
TypeError: request.cookies.get is not a function. (In 'request.cookies.get(cookieName)':
packages/gitbook/src/lib/visitor-token.ts#L130
at getVisitorCustomTokenFromCookies (/home/runner/work/gitbook/gitbook/packages/gitbook/src/lib/visitor-token.ts:130:49)
at /home/runner/work/gitbook/gitbook/packages/gitbook/src/lib/visitor-token.test.ts:60:16
|
Test
gitbook#unit: command (/home/runner/work/gitbook/gitbook/packages/gitbook) /home/runner/.bun/bin/bun run unit exited (1)
|
Test
Process completed with exit code 1.
|
Format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build (Open Source)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Deploy to Cloudflare Pages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Deploy to Cloudflare Pages
No files were found with the provided path: .vercel/. No artifacts will be uploaded.
|
PageSpeed Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Visual Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-test-results
Expired
|
71.3 MB |
|