Roles user card scroll fix #304
Workflow file for this run
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: Static Analysis | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
lint-check: | |
name: ESLint Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Use Yarn v4 | |
run: corepack prepare yarn@4.5.1 --activate | |
- name: Install dependencies | |
run: yarn install | |
- name: Run ESLint check | |
run: yarn lint | |
format-check: | |
name: Prettier Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Use Yarn v4 | |
run: corepack prepare yarn@4.5.1 --activate | |
- name: Install dependencies | |
run: yarn install | |
- name: Run Prettier check | |
run: yarn format:check | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: | |
- lint-check | |
- format-check | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Use Yarn v4 | |
run: corepack prepare yarn@4.5.1 --activate | |
- name: Install dependencies | |
run: yarn install | |
- name: Generate Prisma Client | |
working-directory: apps/backend | |
run: yarn prisma generate | |
- name: Build | |
run: yarn build:backend |