chore: remove extraneous prisma client generation #132
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: Lemuria CI | |
on: | |
push: | |
branches: [master, dev] | |
pull_request: | |
branches: [master, dev] | |
jobs: | |
backend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: . | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- run: npm -w backend ci | |
- run: npm -w backend run lint | |
- run: npm -w backend run test | |
- run: npm -w backend run build | |
frontend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: . | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- run: npm -w action-parser -w frontend ci | |
- run: npm -w frontend run lint | |
- run: npm -w frontend run build:prod | |
action-parser: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: . | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- run: npm -w action-parser ci | |
- run: npm -w action-parser run lint | |
- run: npm -w action-parser run test:cov | |
bot: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: . | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- run: npm -w bot ci | |
- run: npm -w bot run lint |