Skip to content

SSF-124 Replacing Browser Alerts #706

SSF-124 Replacing Browser Alerts

SSF-124 Replacing Browser Alerts #706

Workflow file for this run

on: [push, pull_request]
jobs:
prettier-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --frozen-lockfile
- run: yarn prettier:check
backend-tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_DB: securing-safe-food-test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_HOST: 127.0.0.1
DATABASE_PORT: 5432
DATABASE_NAME_TEST: securing-safe-food-test
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
NX_DAEMON: 'false'
CYPRESS_INSTALL_BINARY: '0'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --frozen-lockfile
- run: yarn list strip-ansi string-width string-length
- run: npx jest