Skip to content

update github workflow ci #1

update github workflow ci

update github workflow ci #1

Triggered via push December 4, 2024 07:59
Status Cancelled
Total duration 4m 58s
Artifacts

bunhono_ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
bun testing
The run was canceled by @adeiskandarzulkarnaen.
PrismaClientInitializationError:: node_modules/@prisma/client/runtime/library.js#L21
error: Environment variable not found: DATABASE_URL. --> schema.prisma:13 | 12 | provider = "mysql" 13 | url = env("DATABASE_URL") | Validation Error Count: 1 at new PrismaClientInitializationError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:21:1370) at handleRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:7638) at handleAndLogRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6663) at /home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6370
PrismaClientInitializationError:: node_modules/@prisma/client/runtime/library.js#L21
/home/runner/work/hono-starter/hono-starter/tests/UsersTableTestHelper.ts:28:29 25 }, 26 27 async cleanTable() { 28 await prismaClient.user.deleteMany( error: Environment variable not found: DATABASE_URL. --> schema.prisma:13 | 12 | provider = "mysql" 13 | url = env("DATABASE_URL") | Validation Error Count: 1 at new PrismaClientInitializationError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:21:1370) at handleRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:7638) at handleAndLogRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6663) at /home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6370
error:: src/Infrastructures/repository/_test/UserRepositoryPrisma.test.ts#L37
Expected promise that resolves Received promise that rejected: Promise { <rejected> } at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/repository/_test/UserRepositoryPrisma.test.ts:37:23 at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/repository/_test/UserRepositoryPrisma.test.ts:31:67
PrismaClientInitializationError:: node_modules/@prisma/client/runtime/library.js#L21
/home/runner/work/hono-starter/hono-starter/tests/UsersTableTestHelper.ts:28:29 25 }, 26 27 async cleanTable() { 28 await prismaClient.user.deleteMany( error: Environment variable not found: DATABASE_URL. --> schema.prisma:13 | 12 | provider = "mysql" 13 | url = env("DATABASE_URL") | Validation Error Count: 1 at new PrismaClientInitializationError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:21:1370) at handleRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:7638) at handleAndLogRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6663) at /home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6370
PrismaClientInitializationError:: node_modules/@prisma/client/runtime/library.js#L21
/home/runner/work/hono-starter/hono-starter/src/Infrastructures/repository/UserRepositoryPrisma.ts:25:66 22 public async addUser(registerUser: RegisterUser): Promise<RegisteredUser> { 23 const { username, password, fullname } = registerUser; 24 25 const result: eRegisteredUser = await this.prismaClient.user.create( error: Environment variable not found: DATABASE_URL. --> schema.prisma:13 | 12 | provider = "mysql" 13 | url = env("DATABASE_URL") | Validation Error Count: 1 at new PrismaClientInitializationError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:21:1370) at handleRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:7638) at handleAndLogRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6663) at /home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6370
PrismaClientInitializationError:: node_modules/@prisma/client/runtime/library.js#L21
/home/runner/work/hono-starter/hono-starter/tests/UsersTableTestHelper.ts:28:29 25 }, 26 27 async cleanTable() { 28 await prismaClient.user.deleteMany( error: Environment variable not found: DATABASE_URL. --> schema.prisma:13 | 12 | provider = "mysql" 13 | url = env("DATABASE_URL") | Validation Error Count: 1 at new PrismaClientInitializationError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:21:1370) at handleRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:7638) at handleAndLogRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6663) at /home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6370
PrismaClientInitializationError:: node_modules/@prisma/client/runtime/library.js#L21
/home/runner/work/hono-starter/hono-starter/src/Infrastructures/repository/UserRepositoryPrisma.ts:25:66 22 public async addUser(registerUser: RegisterUser): Promise<RegisteredUser> { 23 const { username, password, fullname } = registerUser; 24 25 const result: eRegisteredUser = await this.prismaClient.user.create( error: Environment variable not found: DATABASE_URL. --> schema.prisma:13 | 12 | provider = "mysql" 13 | url = env("DATABASE_URL") | Validation Error Count: 1 at new PrismaClientInitializationError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:21:1370) at handleRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:7638) at handleAndLogRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6663) at /home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6370
PrismaClientInitializationError:: node_modules/@prisma/client/runtime/library.js#L21
/home/runner/work/hono-starter/hono-starter/tests/UsersTableTestHelper.ts:28:29 25 }, 26 27 async cleanTable() { 28 await prismaClient.user.deleteMany( error: Environment variable not found: DATABASE_URL. --> schema.prisma:13 | 12 | provider = "mysql" 13 | url = env("DATABASE_URL") | Validation Error Count: 1 at new PrismaClientInitializationError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:21:1370) at handleRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:7638) at handleAndLogRequestError (/home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6663) at /home/runner/work/hono-starter/hono-starter/node_modules/@prisma/client/runtime/library.js:121:6370
TypeError: undefined is not an object (evaluating 'key.includes'): node_modules/hono/dist/utils/jwt/jws.js#L35
at /home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:35:7 at importPrivateKey (/home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:19:33) at /home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:8:27 at signing (/home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:6:24) at /home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jwt.js:28:31 at sign (/home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jwt.js:24:19) at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/HonoJwtTokenManager.ts:14:38 at generateAccessToken (/home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/HonoJwtTokenManager.ts:13:36) at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/_test/HonoJwtTokenManager.test.ts:19:47 at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/_test/HonoJwtTokenManager.test.ts:10:47
TypeError: undefined is not an object (evaluating 'key.includes'): node_modules/hono/dist/utils/jwt/jws.js#L35
at /home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:35:7 at importPrivateKey (/home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:19:33) at /home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:8:27 at signing (/home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jws.js:6:24) at /home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jwt.js:28:31 at sign (/home/runner/work/hono-starter/hono-starter/node_modules/hono/dist/utils/jwt/jwt.js:24:19) at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/HonoJwtTokenManager.ts:14:38 at generateAccessToken (/home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/HonoJwtTokenManager.ts:13:36) at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/_test/HonoJwtTokenManager.test.ts:47:47 at /home/runner/work/hono-starter/hono-starter/src/Infrastructures/security/_test/HonoJwtTokenManager.test.ts:38:70