Skip to content

Allow snapshot strategy to be configured #11

Allow snapshot strategy to be configured

Allow snapshot strategy to be configured #11

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Start dev server in the background
run: yarn dev &
- name: Install Playwright browsers
run: npx playwright install chromium
- name: Run tests
run: yarn test
env:
HAPPO_API_KEY: ${{ secrets.HAPPO_API_KEY }}
HAPPO_API_SECRET: ${{ secrets.HAPPO_API_SECRET }}