Skip to content

Commit

Permalink
fix build fail (#1736)
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine authored Sep 23, 2024
1 parent 9e84df3 commit 750f19d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
branches:
- master
- release-*
pull_request:
branches:
- master
- release
- release-*

jobs:
backend:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
branches:
- master
- release-*
pull_request:
branches:
- master
- release
- release-*

jobs:
backend_ut:
Expand Down
6 changes: 4 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "1.0.0",
"license": "MIT",
"engines": {
"node": ">=18.16.0"
"node": ">= 18.16.0",
"pnpm": ">= 8"
},
"scripts": {
"fmt-check": "prettier --check .",
Expand Down Expand Up @@ -38,5 +39,6 @@
"hooks": {
"pre-commit": "lint-staged"
}
}
},
"packageManager": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ class DataSource implements IUserProfileDataSource {
userShareSession(request: CodeShareRequest, options?: ReqConfig) {
return client.getInstance().userShareSession({ request }, options)
}

userRevokeSession(options?: ReqConfig) {
return client.getInstance().userRevokeSession(options)
}

metricsGetPromAddress(options?: ReqConfig) {
return client.getInstance().metricsGetPromAddress(options)
}
Expand Down

0 comments on commit 750f19d

Please sign in to comment.