Skip to content

Deploy to production with updated names of environment variables #26

Deploy to production with updated names of environment variables

Deploy to production with updated names of environment variables #26

Workflow file for this run

name: Run CI checks before PR to main branch
on:
pull_request:
branches: ["main"]
jobs:
ci-main:
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}}