Skip to content

Bump @typescript-eslint/eslint-plugin from 6.4.1 to 8.44.1 in /apps/web #1057

Bump @typescript-eslint/eslint-plugin from 6.4.1 to 8.44.1 in /apps/web

Bump @typescript-eslint/eslint-plugin from 6.4.1 to 8.44.1 in /apps/web #1057

Workflow file for this run

name: CI
on:
pull_request: ~
push:
branches:
- master
- releases/*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: Run eslint/format
steps:
- uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: '22.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint
- name: Prettier
run: yarn workspaces run prettier . --check
tsc:
runs-on: ubuntu-latest
name: Check tsc
steps:
- uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: '22.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: tsc
run: yarn tsc
jest:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: db
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
name: Run tests
steps:
- uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: '22.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Wait for PostgreSQL to be ready
run: |
for i in {1..10}; do
pg_isready -h localhost -p 5432 && break
echo "Waiting for Postgres..."
sleep 3
done
- name: Run Prisma Migrations
run: yarn --cwd apps/server prisma migrate deploy
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/db?schema=public
DIRECT_URL: postgresql://postgres:postgres@localhost:5432/db?schema=public
- name: Run tests
run: yarn test
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/db?schema=public
DIRECT_URL: postgresql://postgres:postgres@localhost:5432/db?schema=public
POSTMARK_SERVER_KEY: placeholder
AZURE_STORAGE_CONNECTION_STRING: placeholder
build-backend-image:
runs-on: ubuntu-latest
name: Build backend image
steps:
- name: Checkout code
uses: actions/checkout@v3
- run: yarn install --immutable
- name: Build Docker image for backend
run: yarn backend:docker:build
build-frontend-image:
runs-on: ubuntu-latest
name: Build frontend image
steps:
- name: Checkout code
uses: actions/checkout@v3
- run: yarn install --immutable
- name: Build Docker image for frontend
run: yarn frontend:docker:build