Skip to content

feat: modal improvements #648

feat: modal improvements

feat: modal improvements #648

Workflow file for this run

name: Build and Test
permissions:
contents: read
pull-requests: write
checks: write
actions: write
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Docker
id: buildx
uses: docker/setup-buildx-action@v4
- name: Build image
uses: docker/build-push-action@v7
with:
context: ./
file: ./Dockerfile
platforms: linux/amd64
push: false
tags: wishlist:test
cache-from: type=gha
cache-to: type=gha,mode=max
- uses: pnpm/action-setup@v5
name: Install pnpm
id: pnpm-install
with:
version: 10
run_install: false
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 24
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v5
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm test:setup
- name: Run Playwright tests
run: pnpm test
- uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30