Skip to content

test: add tests

test: add tests #421

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_call:
jobs:
ci:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/update-cache
- name: Debug github action ref
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
- name: Build
run : npm run build
- name: Test doc build
run: npm run docs:build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30