From d6061a73bfa0db17bea4311d2bf5665b8b5b6f21 Mon Sep 17 00:00:00 2001 From: undefined Date: Sun, 15 Jun 2025 09:04:57 +0800 Subject: [PATCH] fix ci --- .github/workflows/build.yml | 2 +- framework/eslint-config/package.json | 4 ++-- package.json | 4 ++-- packages/hydrooj/package.json | 2 +- packages/ui-default/package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1f63bb6f..8c1d579b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,9 +60,9 @@ jobs: .github/workflows/** - name: Build And Lint run: | + yarn build:ui:iconfont # icon font file needed for types if [[ ${{ steps.ui-changed-files.outputs.any_changed }} == true ]] || [[ $(npm info @hydrooj/ui-default version) != $(node -e 'console.log(require("./packages/ui-default/package.json").version)') ]] then - yarn build:ui:iconfont parallel --tty -j+0 yarn ::: lint:ci build build:ui:production:webpack test else parallel --tty -j+0 yarn ::: lint:ci build test diff --git a/framework/eslint-config/package.json b/framework/eslint-config/package.json index d032dcc56..d012f584a 100644 --- a/framework/eslint-config/package.json +++ b/framework/eslint-config/package.json @@ -4,8 +4,8 @@ "license": "MIT", "main": "base.mjs", "dependencies": { - "@eslint-react/eslint-plugin": "^1.51.3", - "@eslint/compat": "^1.2.9", + "@eslint-react/eslint-plugin": "^1.52.2", + "@eslint/compat": "^1.3.0", "@eslint/eslintrc": "^3.3.1", "@stylistic/eslint-plugin": "^4.4.1", "@typescript-eslint/eslint-plugin": "^8.34.0", diff --git a/package.json b/package.json index 072dcb53d..debfce4c9 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "cross-env": "^7.0.3", "cross-spawn": "^7.0.6", "esbuild": "0.25.2", - "eslint": "^9.28.0", + "eslint": "^9.29.0", "eslint-import-resolver-typescript": "^4.4.3", "eslint-import-resolver-webpack": "^0.13.10", "fs-extra": "^11.3.0", @@ -53,7 +53,7 @@ "mongodb-memory-server": "10.1.4", "nyc": "^17.1.0", "ora": "^8.2.0", - "oxlint": "^1.0.0", + "oxlint": "^1.1.0", "package-json": "^10.0.1", "semver": "^7.7.2", "simple-git": "^3.28.0", diff --git a/packages/hydrooj/package.json b/packages/hydrooj/package.json index 207eb8954..22e929774 100644 --- a/packages/hydrooj/package.json +++ b/packages/hydrooj/package.json @@ -37,7 +37,7 @@ "lodash": "^4.17.21", "lru-cache": "^11.1.0", "mime-types": "^3.0.1", - "moment-timezone": "^0.5.48", + "moment-timezone": "^0.6.0", "mongodb": "^6.17.0", "mongodb-uri": "^0.9.7", "nanoid": "^5.1.5", diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index b733cf7c5..b8d82b070 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -21,7 +21,7 @@ "@fontsource/source-code-pro": "^5.2.6", "@fontsource/ubuntu-mono": "^5.2.6", "@hydrooj/utils": "workspace:^", - "@sentry/browser": "^9.28.0", + "@sentry/browser": "^9.29.0", "@sentry/webpack-plugin": "^3.5.0", "@simplewebauthn/browser": "13.1.0", "@svgr/webpack": "^8.1.0",