Revision 6d2e9090247f86cc84dc7ca1087073710140fb67 authored by Roman Donchenko on 28 March 2024, 15:51:09 UTC, committed by GitHub on 28 March 2024, 15:51:09 UTC
It has occurred to me that the documentation build happens inside the main workflow, which is configured to ignore changes to the docs when determining whether to run. So if a PR only changes the docs... we don't build the docs. That makes no sense. Fix this by extracting the documentation job into its own workflow, that always runs. The downside of this is that we have to duplicate the work of generating the SDK, but IMO, it's an acceptable sacrifice. A side effect of this is that a failure to build the docs no longer prevents the publishing of Docker images, but I don't think that was needed in the first place.
1 parent 6eb7b7d
package.json
{
"name": "cvat-data",
"type": "module",
"version": "2.0.0",
"description": "",
"main": "src/ts/cvat-data.ts",
"scripts": {
"build": "webpack --config ./webpack.config.cjs",
"type-check": "tsc --noEmit",
"type-check:watch": "yarn run type-check --watch"
},
"author": "CVAT.ai",
"license": "MIT",
"browserslist": [
"Chrome >= 63",
"Firefox > 102",
"not IE 11",
"> 2%"
],
"devDependencies": {},
"dependencies": {
"async-mutex": "^0.4.0",
"jszip": "3.10.1"
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...