Skip to content

ci: Update runner to ubuntu-24.04#5

Closed
xeho91 wants to merge 9 commits into
codequest-eu:masterfrom
xeho91:ci/update-runners
Closed

ci: Update runner to ubuntu-24.04#5
xeho91 wants to merge 9 commits into
codequest-eu:masterfrom
xeho91:ci/update-runners

Conversation

@xeho91

@xeho91 xeho91 commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

No description provided.

)
if (existingComment) return
}
github.issues.createComment({ owner, repo, issue_number, body }); No newline at end of file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, Prettier 😬

});
};
fileReader.onloadend = () => {
void formikProps.setFieldValue("previewImage", {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a floating promise and ESLint was preventing from build. And then, the format was an issue.

);

setFieldValue("uploadedImageUrl", data.imageUrl);
await setFieldValue("uploadedImageUrl", data.imageUrl);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint complained about a floating promise. Prevented from building the app.

Comment thread web/package.json Outdated
"format:locales": "eslint --fix -c 'src/footer-templates-app/config/locales/.eslintrc.js' --ext .json --format 'node_modules/eslint-plugin-i18n-json/formatter.js' 'src/footer-templates-app/config/locales/**/*.json'",
"tsc": "tsc",
"test": "react-scripts test --env=jest-environment-jsdom-fourteen",
"test": "react-scripts test --env=jsdom",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security advisory forced me to upgrade the package, then the script.

Comment on lines +47 to +49
type ActionsFromCreators<T extends ActionCreatorsMapObject> = ObjectValues<{
[Key in keyof T]: ReturnType<T[Key]>;
}>;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format issue blocking build

Comment thread web/package.json
"format:locales": "eslint --fix -c 'src/footer-templates-app/config/locales/.eslintrc.js' --ext .json --format 'node_modules/eslint-plugin-i18n-json/formatter.js' 'src/footer-templates-app/config/locales/**/*.json'",
"tsc": "tsc",
"test": "react-scripts test --env=jest-environment-jsdom-fourteen",
"test": "react-scripts test --env=jsdom --watchAll=false",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporary workaround to prevent Jest from running in interactive mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants