Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

feat: editor package simpler language strings #599

feat: editor package simpler language strings

feat: editor package simpler language strings #599

Triggered via pull request March 18, 2024 15:08
Status Failure
Total duration 2m 46s
Artifacts

checks.yml

on: pull_request
Cache of yarn matches checksums in lockfile
59s
Cache of yarn matches checksums in lockfile
Build succeeds
46s
Build succeeds
All source files are well formated with prettier
1m 14s
All source files are well formated with prettier
TypeScript compiles
41s
TypeScript compiles
ESLint has no errors
1m 42s
ESLint has no errors
Jest integration tests
1m 6s
Jest integration tests
Run cypress tests (locally)
2m 35s
Run cypress tests (locally)
Run cypress tests (with docker build)
1m 35s
Run cypress tests (with docker build)
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 9 warnings
TypeScript compiles: src/frontend/editor.tsx#L39
Type '(editor: any, languageData: any) => Element' is not assignable to type 'ReactNode | ((document: ReactNode) => ReactNode)'.
TypeScript compiles: src/frontend/plugins/create-plugins.tsx#L10
Argument of type '{ enableTextAreaExercise: true; allowImageInTableCells: false; exerciseVisibleInSuggestion: true; allowedChildPlugins: string[]; multimediaConfig: { explanation: { plugin: EditorPluginType; config: { ...; }; }; allowedPlugins: string[]; }; }' is not assignable to parameter of type '{ allowedChildPlugins?: string[]; exerciseVisibleInSuggestion: boolean; enableTextAreaExercise?: boolean; allowImageInTableCells: boolean; editorStrings: { confirmRouteChange: string; noChangesWarning: string; plugins: { ...; }; templatePlugins: { ...; }; edtrIo: { ...; }; taxonomy: { ...; }; }; multimediaConfig?: M...'.
TypeScript compiles: src/frontend/serlo-editor.tsx#L44
Type '{ document: { plugin: string; } & { state?: unknown; }; }' is missing the following properties from type 'SerloRendererProps': instanceData, loggedInData
TypeScript compiles
Process completed with exit code 2.
Build succeeds
Process completed with exit code 1.
Cache of yarn matches checksums in lockfile
Process completed with exit code 1.
Run cypress tests (with docker build)
The process '/usr/local/bin/yarn' failed with exit code 1
Run cypress tests (locally)
Response code 500 (Internal Server Error)
TypeScript compiles
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build succeeds
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Cache of yarn matches checksums in lockfile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Jest integration tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
All source files are well formated with prettier
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run cypress tests (with docker build)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, cypress-io/github-action@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ESLint has no errors
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run cypress tests (locally)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, cypress-io/github-action@v5, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run cypress tests (locally)
No files were found with the provided path: cypress/screenshots cypress/videos. No artifacts will be uploaded.