Upload sourcemaps for release builds

To allow us to reconstruct a stack trace, this will upload the
sourcemaps for all release builds.
This commit is contained in:
Koen Vlaswinkel 2023-01-16 10:58:00 +01:00
Родитель f6f8b68ce9
Коммит b4bb1b6ad7
2 изменённых файлов: 9 добавлений и 0 удалений

6
.github/workflows/release.yml поставляемый
Просмотреть файл

@ -59,6 +59,12 @@ jobs:
name: vscode-codeql-extension
path: artifacts
- name: Upload source maps
uses: actions/upload-artifact@v3
with:
name: vscode-codeql-sourcemaps
path: dist/vscode-codeql/out/*.map
# TODO Run tests, or check that a test run on the same branch succeeded.
- name: Create release

Просмотреть файл

@ -54,6 +54,9 @@ export const config: webpack.Configuration = {
MiniCssExtractPlugin.loader,
{
loader: "css-loader",
options: {
sourceMap: true,
},
},
],
},