Skip to content

CM-145 upgrade mongodb and node #89

CM-145 upgrade mongodb and node

CM-145 upgrade mongodb and node #89

Workflow file for this run

name: Run CI checks before PR to dev branch
on:
pull_request:
branches: ["dev"]
jobs:
ci-dev:
environment: test
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Install dependencies with pnpm
run: |
corepack enable
pnpm i
- name: Check types with TypeScript
run: pnpm check-types
- name: Lint with ESLint
run: pnpm lint
- name: Check format with Prettier
run: pnpm check-format
- name: Run unit tests with Vitest
run: pnpm test:unit
env:
PROJECT_URL: ${{vars.PROJECT_URL}}
MONGODB_URL: ${{secrets.MONGODB_URL}}
PASSWORD_PEPPER: ${{secrets.PASSWORD_PEPPER}}
SEND_EMAIL: ${{vars.SEND_EMAIL}}