mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38: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: |
|
run: |
|
||||||
bun install
|
bun install
|
||||||
|
|
||||||
|
- name: Generate Prisma Client
|
||||||
|
run: |
|
||||||
|
bun prisma generate
|
||||||
|
|
||||||
- name: Install ESLint
|
- name: Install ESLint
|
||||||
run: |
|
run: |
|
||||||
bun install -g eslint@8.10.0
|
bun install -g eslint@8.10.0
|
||||||
|
|
@ -43,11 +47,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: |
|
run: |
|
||||||
bunx eslint .
|
bunx eslint . --config .eslintrc.js --ext .js,.jsx,.ts,.tsx --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif
|
||||||
--config .eslintrc.js
|
|
||||||
--ext .js,.jsx,.ts,.tsx
|
|
||||||
--format @microsoft/eslint-formatter-sarif
|
|
||||||
--output-file eslint-results.sarif
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Upload analysis results to GitHub
|
- name: Upload analysis results to GitHub
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue