Skip to content

chore(ci): fix pnpm version #243

chore(ci): fix pnpm version

chore(ci): fix pnpm version #243

Workflow file for this run

name: Backend CI
on: push
jobs:
ci:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: pnpm/action-setup@v4
with:
version: 9.1.0
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: |
pnpm install
- name: Build
run: |
cd apps/backend
pnpm prisma:generate
pnpm build
- name: Test
run: |
cd apps/backend
pnpm test
- name: Lint
run: |
cd apps/backend
pnpm lint
- name: Types check
run: |
cd apps/backend
pnpm types:check