GitHub Action for uploading source maps
There’s a brand new integration available in the GitHub Marketplace for uploading source maps to elmah.io from GitHub Actions.
In short, adding a build step to your YAML file will upload a minified JavaScript file and source map to elmah.io:
uses: elmahio/github-upload-source-map-action@v1
with:
apiKey: $
logId: $
path: '/bundles/sharedbundle.min.js'
sourceMap: 'path/to/sharedbundle.map'
minifiedJavaScript: 'path/to/sharedbundle.min.js'
There’s a new section in the Source map documentation explaining this in more detail: https://docs.elmah.io/sourcemaps/#upload-from-github-actions. Be aware that the server-side source map feature is still in beta.