Skip to content

chore: upgrade tailwind 4 (#395) #1962

chore: upgrade tailwind 4 (#395)

chore: upgrade tailwind 4 (#395) #1962

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- production
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'main') && !contains(github.ref, 'production') }}
jobs:
static-tests:
name: Static tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Linting
run: npm run lint:ci
- name: Typescript checking
run: npm run tsc
integration-tests:
name: Integration tests
runs-on: ubuntu-latest
needs: static-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Start database and firebase emulators
run: docker compose up -d --build
- name: Wait for database start...
run: ./docker/wait-for-db.sh
- name: Install Playwright browser
run: npx playwright install --with-deps --only-shell chromium
- name: Execute tests
run: npm test
- name: Stop database and firebase emulators
if: always()
run: docker compose down
e2e-tests:
name: E2E tests
runs-on: ubuntu-latest
needs: static-tests
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Start database and firebase emulators
run: docker compose up -d --build
- name: Wait for database start...
run: ./docker/wait-for-db.sh
- name: Install Playwright browser
run: npx playwright install --with-deps --only-shell chromium
- name: Build the app
run: npx dotenv -e .env.e2e -- npm run build
- name: Run e2e tests
run: npm run test:e2e
- name: Stop database and firebase emulators
if: always()
run: docker compose down