Skip to content

deps: update dependency lucide-react to v1.24.0 #4124

deps: update dependency lucide-react to v1.24.0

deps: update dependency lucide-react to v1.24.0 #4124

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Double Open Oy
#
# SPDX-License-Identifier: MIT
name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ vars.DATABASE_URL }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24.18.0
cache: "npm"
- name: Enable Corepack
run: npm install corepack@latest && corepack enable
- name: Install dependencies for root
run: npm i --workspaces=false
- name: Install dependencies for the database package
run: npm i --workspace packages/database
- name: Run prisma generate
run: npm run db:generate
- name: Build images
run: docker compose build
- name: Start the testing environment
run: docker compose up api clearance-ui scanner-worker createbuckets -d
- name: Seed the database and populate the spaces bucket
run: npm run db:migrate:reset
- name: Run Playwright tests
run: docker compose up playwright-tests --abort-on-container-exit --exit-code-from playwright-tests
- name: Print Docker Compose logs
run: docker compose logs
if: failure()
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: playwright-report
path: playwright-artifacts/clearance_ui
retention-days: 30