Skip to content

v2.11.0

v2.11.0 #45570

Workflow file for this run

name: Build in production mode
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-22.04
services:
postgres:
image: postgres:latest
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
env:
NODE_ENV: production
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
check-latest: true
cache: 'yarn'
- name: Remove all test code from the application
run: rm -rf apps/frontend/tests apps/backend/test test
- name: Install project dependencies
run: yarn install --frozen-lockfile --production
- name: Ensure the app builds cleanly with only production dependencies
run: yarn build