Skip to content

test-vo

test-vo #352

Workflow file for this run

name: test-vo
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Runs at 00:00 UTC every day
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-vo:
name: Test VoiceOver
runs-on: macos-14
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.npm
website/.next/cache
key: |
test-vo-14-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
test-vo-14-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Install dependencies
run: npm ci --no-audit
- name: Install playwright
run: npx playwright install --with-deps webkit
- name: Build website
run: npm run build-website-lite
- name: Guidepup Setup
uses: guidepup/setup-action@0.15.3
with:
record: true
- name: Test
id: test
run: npm run test-vo
- name: Upload test results to GitHub
if: failure() && steps.test.outcome == 'failure'
uses: actions/upload-artifact@v3
with:
name: test-results
path: |
test-results
recordings
retention-days: 30