Skip to content

Permissions System

Permissions System #14

Triggered via pull request July 29, 2024 20:06
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 7 warnings
format
@amaxa/validators#format: command (/home/runner/work/amaxa/amaxa/packages/validators) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
@amaxa/auth#format: command (/home/runner/work/amaxa/amaxa/packages/auth) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
@amaxa/db#format: command (/home/runner/work/amaxa/amaxa/packages/db) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
@amaxa/api#format: command (/home/runner/work/amaxa/amaxa/packages/api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
@amaxa/nextjs#format: command (/home/runner/work/amaxa/amaxa/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
Process completed with exit code 1.
lint: packages/api/src/router/users.ts#L1
'TRPCRouterRecord' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/auth/src/actions.ts#L27
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint: packages/auth/src/config.ts#L59
Async method 'session' has no 'await' expression
lint: apps/nextjs/src/app/(auth)/sign-in/page.tsx#L48
'data' is defined but never used. Allowed unused args must match /^_/u
lint: apps/nextjs/src/app/(auth)/sign-out/page.tsx#L49
'data' is defined but never used. Allowed unused args must match /^_/u
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/permissions/_components/add-user-form.tsx#L18
'Input' is defined but never used. Allowed unused vars must match /^_/u
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/permissions/_components/add-user-form.tsx#L33
'userMap' is defined but never used. Allowed unused args must match /^_/u
lint
@amaxa/api#lint: command (/home/runner/work/amaxa/amaxa/packages/api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint
@amaxa/auth#lint: command (/home/runner/work/amaxa/amaxa/packages/auth) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint
@amaxa/nextjs#lint: command (/home/runner/work/amaxa/amaxa/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
format
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: packages/db/src/schema.ts#L15
All imports in the declaration are only used as types. Use `import type`
lint: packages/auth/src/actions.ts#L4
Imports "ProjectPermission" are only used as type
lint: packages/auth/src/config.ts#L12
Imports "ProjectPermission", "UserRole" and "UserStatus" are only used as type
lint: apps/nextjs/src/app/api/project/[id]/route.ts#L4
All imports in the declaration are only used as types. Use `import type`
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/