build: add sentry token

This commit is contained in:
undefined committed 2024-06-26 11:39:33 +08:00
1 parent 5b083241ef
commit 61af311048
4 files changed
+7 -5

No files matched your search

+2
View File
@@ -67,6 +67,8 @@ jobs:
else else
parallel --tty -j+0 yarn ::: lint:ci build test parallel --tty -j+0 yarn ::: lint:ci build test
fi fi
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- name: Publish - name: Publish
if: ${{ github.event_name == 'push' }} if: ${{ github.event_name == 'push' }}
run: node -r @hydrooj/register build/publish.ts run: node -r @hydrooj/register build/publish.ts
+1 -1
View File
@@ -4,7 +4,7 @@
"license": "MIT", "license": "MIT",
"main": "react.yaml", "main": "react.yaml",
"dependencies": { "dependencies": {
"@stylistic/eslint-plugin": "^2.2.2", "@stylistic/eslint-plugin": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1", "@typescript-eslint/parser": "^7.14.1",
"eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb": "^19.0.4",
@@ -87,8 +87,8 @@ export function configYamlFormat(config: ProblemConfigFile) {
export default connect(mapStateToProps, mapDispatchToProps)(class MonacoEditor extends React.PureComponent<Props> { export default connect(mapStateToProps, mapDispatchToProps)(class MonacoEditor extends React.PureComponent<Props> {
disposable = []; disposable = [];
containerElement: HTMLElement; containerElement: HTMLElement;
private __preventUpdate = false; __preventUpdate = false;
private __preventFormat = false; __preventFormat = false;
editor: editor.IStandaloneCodeEditor; editor: editor.IStandaloneCodeEditor;
model: editor.ITextModel; model: editor.ITextModel;
+2 -2
View File
@@ -25,8 +25,8 @@
"@fontsource/source-code-pro": "^5.0.18", "@fontsource/source-code-pro": "^5.0.18",
"@fontsource/ubuntu-mono": "^5.0.20", "@fontsource/ubuntu-mono": "^5.0.20",
"@hydrooj/utils": "workspace:^", "@hydrooj/utils": "workspace:^",
"@sentry/browser": "^8.11.0", "@sentry/browser": "^8.12.0",
"@sentry/webpack-plugin": "^2.20.0", "@sentry/webpack-plugin": "^2.20.1",
"@simplewebauthn/browser": "7.4.0", "@simplewebauthn/browser": "7.4.0",
"@svgr/webpack": "^8.1.0", "@svgr/webpack": "^8.1.0",
"@types/gulp-if": "^0.0.34", "@types/gulp-if": "^0.0.34",