Skip to content

Commit

Permalink
chore: quick fix
Browse files Browse the repository at this point in the history
- add continue-on-error
- updated the order
  • Loading branch information
HarshPatel5940 committed Oct 14, 2023
1 parent b9e0ede commit 310cb0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ jobs:

- name: Prettier
run: pnpm run format:check
continue-on-error: true

- name: ESLint
run: pnpm run lint
continue-on-error: true

- name: Build
run: pnpm run build
4 changes: 2 additions & 2 deletions src/api/project/project.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ export class ProjectService {
) {
console.log(slug, dto, file);

// TODO: Add Project Data from prisma
// this.prisma.
// TODO: Upload Project Data to S3
// this.aws.
// TODO: Add Project Data from prisma
// this.prisma.
}
}
7 changes: 1 addition & 6 deletions src/prisma/prisma.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ export class PrismaService extends PrismaClient {
}

async AddProjectData(slug: string, dto: ProjectDataDto, url: string) {

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'slug' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'dto' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'url' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'slug' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'dto' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'url' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'slug' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'dto' is defined but never used

Check failure on line 168 in src/prisma/prisma.service.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

'url' is defined but never used
const res = await this.project.create({
data: {

},
select: {},
});
// TODO: Implement storing the data and link of s3 file
}
}

0 comments on commit 310cb0a

Please sign in to comment.