Skip to content

🍪 Use localStorage instead of cookie for static builds' theme #1067

🍪 Use localStorage instead of cookie for static builds' theme

🍪 Use localStorage instead of cookie for static builds' theme #1067

Triggered via pull request August 29, 2024 11:07
Status Failure
Total duration 1m 25s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
lint
@myst-theme/site#lint: command (/home/runner/work/myst-theme/myst-theme/packages/site) npm run lint exited (1)
lint: packages/site/src/actions/theme.ts#L1
All imports in the declaration are only used as types. Use `import type`
lint
Process completed with exit code 1.
test
@myst-theme/site#build: command (/home/runner/work/myst-theme/myst-theme/packages/site) npm run build exited (1)
test
Type 'Theme | undefined' is not assignable to type 'Theme | null'.
test
Type 'Theme | Dispatch<SetStateAction<Theme | null>> | null' is not assignable to type 'Theme | null'.
test
Type 'Theme | Dispatch<SetStateAction<Theme | null>> | null' is not assignable to type 'SetThemeType'.
test
Process completed with exit code 1.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/