mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Add Prisma Client generation step to ESLint
workflow
This commit is contained in:
parent
1ed3fb474e
commit
907107443b
10
.github/workflows/eslint.yml
vendored
10
.github/workflows/eslint.yml
vendored
|
|
@ -36,6 +36,10 @@ jobs:
|
|||
run: |
|
||||
bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: |
|
||||
bun prisma generate
|
||||
|
||||
- name: Install ESLint
|
||||
run: |
|
||||
bun install -g eslint@8.10.0
|
||||
|
|
@ -43,11 +47,7 @@ jobs:
|
|||
|
||||
- name: Run ESLint
|
||||
run: |
|
||||
bunx eslint .
|
||||
--config .eslintrc.js
|
||||
--ext .js,.jsx,.ts,.tsx
|
||||
--format @microsoft/eslint-formatter-sarif
|
||||
--output-file eslint-results.sarif
|
||||
bunx eslint . --config .eslintrc.js --ext .js,.jsx,.ts,.tsx --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload analysis results to GitHub
|
||||
|
|
|
|||
Loading…
Reference in a new issue