Add Prisma Client generation step to ESLint

workflow
This commit is contained in:
Jesse Wierzbinski 2023-11-19 16:27:13 -10:00
parent 1ed3fb474e
commit 907107443b

View file

@ -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