Skip to content

feat: Decorator for checking if admin has a specific permissions #196

feat: Decorator for checking if admin has a specific permissions

feat: Decorator for checking if admin has a specific permissions #196

Re-run triggered June 17, 2024 12:14
Status Failure
Total duration 1m 30s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
install
backend#build: command (/home/runner/work/vitnode/vitnode/backend) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
install
Process completed with exit code 1.
install
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
install: backend/src/plugins/core/admin/email/send/send.service.ts#L17
'from' is defined but never used
install: backend/src/plugins/core/admin/groups/create/create.resolver.ts#L8
'AdminAuthGuards' is defined but never used
install: backend/src/utils/guards/admin-permission.guard.ts#L2
There should be at least one empty line between import groups
install: backend/src/utils/guards/admin-permission.guard.ts#L4
There should be at least one empty line between import groups
install: backend/src/utils/guards/admin-permission.guard.ts#L5
There should be at least one empty line between import groups
install: backend/src/utils/guards/admin-permission.guard.ts#L5
`drizzle-orm` import should occur before import of `@/plugins/core/admin/sessions/authorization/authorization.service`
install: backend/src/utils/guards/admin-permission.guard.ts#L6
There should be at least one empty line between import groups
install: backend/src/utils/guards/admin-permission.guard.ts#L7
There should be at least one empty line between import groups
install: backend/src/utils/guards/admin-permission.guard.ts#L7
`@nestjs/core` import should occur before import of `@/plugins/core/admin/sessions/authorization/authorization.service`
install: backend/src/utils/guards/admin-permission.guard.ts#L8
`../types/context.type` import should occur before import of `@/plugins/core/admin/sessions/authorization/authorization.service`