Skip to content

feat: enable draft saving of game at each step #3998

feat: enable draft saving of game at each step

feat: enable draft saving of game at each step #3998

Triggered via push October 15, 2024 12:53
Status Failure
Total duration 1m 7s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
lint: server/controllers/game.ts#L52
Replace `(data:·any,·content:·ActivityContent,·activityId:·number)·=>·{⏎` with `·(data:·any,·content:·ActivityContent,·activityId:·number)·=>·{`
lint: server/controllers/game.ts#L54
Insert `·`
lint: server/controllers/game.ts#L55
Replace `(responses)` with `·(responses)·`
lint: server/controllers/game.ts#L56
Replace `.update(Activity).set({·data:·data,·content:·content·}).where('id·=·:activityId',·{·activityId·})` with `⏎······.update(Activity)⏎······.set({·data:·data,·content:·content·})⏎······.where('id·=·:activityId',·{·activityId·})⏎······`
lint: server/controllers/game.ts#L58
Insert `;`
lint: server/controllers/game.ts#L60
Replace `(userId:·number·,·villageId:·number·,·type:·number,·subType:·number)=>` with `·(userId:·number,·villageId:·number,·type:·number,·subType:·number)·=>·`
lint: server/controllers/game.ts#L61
Replace `.update(Activity).set({·status:·ActivityStatus.PUBLISHED})` with `⏎····.update(Activity)⏎····.set({·status:·ActivityStatus.PUBLISHED·})⏎····`
lint: server/controllers/game.ts#L62
Insert `··`
lint: server/controllers/game.ts#L63
Insert `··`
lint: server/controllers/game.ts#L64
Replace `····` with `······`
unit-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: server/controllers/game.ts#L52
Unexpected any. Specify a different type
lint: src/contexts/gameContext.tsx#L33
'_data' is defined but never used
typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
typescript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/