File tree Expand file tree Collapse file tree
src/features/common/components/layout/page-layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [master]
88
99jobs :
10+ quality :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Setup Node.js
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version : ' 22'
19+
20+ - name : Install dependencies
21+ run : npm ci
22+
23+ - name : Run ESLint
24+ run : npm run lint
25+
26+ - name : Check types
27+ run : npm run typecheck
28+
29+ - name : Build
30+ run : npm run build
31+
1032 test :
1133 runs-on : ubuntu-latest
1234 steps :
Original file line number Diff line number Diff line change 99 "build" : " next build --webpack" ,
1010 "start" : " next start" ,
1111 "lint" : " eslint ." ,
12+ "typecheck" : " tsc --noEmit" ,
1213 "test" : " vitest" ,
1314 "coverage" : " vitest run --coverage" ,
1415 "playwright:test-ui" : " NODE_OPTIONS=\" --no-experimental-strip-types\" npx playwright test --ui"
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ export const PageLayoutComponent: React.FC<LayoutComponentProps> = ({
2424 const layoutDictionary = getLayoutDictionary ( languageCode ) ;
2525
2626 return (
27- < html lang = { languageCode } data-theme = { themeCode } >
27+ // The inline script below rewrites data-theme before hydration, so this
28+ // element's attributes are expected to differ from the server render.
29+ < html lang = { languageCode } data-theme = { themeCode } suppressHydrationWarning >
2830 < head >
2931 < meta
3032 httpEquiv = "origin-trial"
You can’t perform that action at this time.
0 commit comments