Skip to content

fix: remove excessive min-height gap in staking product cards #283

fix: remove excessive min-height gap in staking product cards

fix: remove excessive min-height gap in staking product cards #283

Workflow file for this run

name: Tests
on:
pull_request:
branches: [dev, master, staging]
workflow_dispatch:
jobs:
unit-tests:
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v6
- name: Setup pnpm
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run Unit Tests
run: pnpm test:unit
e2e-tests:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v6
- name: Setup pnpm
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Get Netlify Deploy URL for branch
id: netlify_deploy
run: |
npx ts-node -O '{ "module": "commonjs" }' src/scripts/get-netlify-branch-deploy.ts
env:
NETLIFY_SITE_ID: "e8f2e766-888b-4954-8500-1b647d84db99"
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }}
GITHUB_REF_NAME: ${{ github.ref_name }}
- name: Install Playwright with all browsers
run: npx playwright install --with-deps
- name: Run E2E Tests
run: pnpm test:e2e
env:
PLAYWRIGHT_TEST_BASE_URL: ${{ steps.netlify_deploy.outputs.url }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: ./tests/__results__
retention-days: 7