Skip to content

fix(deps): update dependencies (non-major) #1365

fix(deps): update dependencies (non-major)

fix(deps): update dependencies (non-major) #1365

Workflow file for this run

name: Automation Test
on:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
group: test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: ESLint and Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Generate Prisma client
run: pnpm prisma generate
- name: Run Lint
run: pnpm lint
unit-test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Generate Prisma client
run: pnpm prisma generate
- name: Run Unit Test
run: pnpm test:coverage
- name: Report Coverage
if: github.event_name == 'pull_request'
uses: davelosert/vitest-coverage-report-action@v2