Bump @nestjs/testing from 10.4.7 to 10.4.8 #45221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "18" | |
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 |