File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 3535
3636 # Fix $HOME perms to make Firefox happy
3737 chown $(whoami) $HOME
38+
3839 - run : npm run build
40+ env :
41+ SENTRY_AUTH_TOKEN : ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && secrets.SENTRY_AUTH_TOKEN) || '' }}
42+ SENTRY_ORG : http-toolkit
43+ SENTRY_PROJECT : httptoolkit-server
44+
3945 - run : xvfb-run npm run test
4046 - run : xvfb-run npm run test:release
4147
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ const pjson = require('./package.json');
77
88const OUTPUT_DIR = path . resolve ( __dirname , 'bundle' ) ;
99
10+ console . log (
11+ process . env . SENTRY_AUTH_TOKEN
12+ ? "* Webpack will upload source map to Sentry *"
13+ : "Sentry source map upload disabled - no token set"
14+ ) ;
15+
1016module . exports = {
1117 entry : {
1218 index : './src/index.ts' ,
You can’t perform that action at this time.
0 commit comments