Merge pull request #352 from vevcom/dependabot/npm_and_yarn/src/prism… #751
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '22.x' | |
- name: Install dependencies | |
run: npm ci | |
- name: Install dependencies (prismaservice) | |
run: cd src/prisma/prismaservice && npm ci | |
- name: Generate Prisma Client | |
run: cd src/prisma/prismaservice && npx prisma generate | |
- name: Generate dobbelOmega | |
run: cd src/prisma/prismaservice && npm run dobbelOmega-generate | |
- name: lint | |
run: npm run lint | |